# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 1
# self = https://watcher.sour.is/conv/dtb2qka
Go 後端分頁怎麼做?用 Gorm!**
一、前言----在使用 Go 語言進行後端開發時,個人比較喜歡的一個 orm 是 Gorm,也是 Go 後端開發中使用最多的 orm(star 最多)。而且它還是由國內大佬 jinzhu 開發的,看着格外順眼。和 python 的 SQLAlchemy 相比,gorm 沒有專門用於分頁的函數(應該大部分 orm 都沒有吧),由於本人是從 python 後端轉到 go 後端,少了一些語法糖有些不適應 ⌘ Read more