# 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/zmo4gba
一行代碼實現一個 RESTful 接口**
背景--基於現在微服務或者服務化的思想,我們大部分的業務邏輯處理函數都是長這樣的:比如 grpc 服務端:func (s Service) GetUserInfo(ctx context.Context, req pb.GetUserInfoReq) (pb.GetUserInfoRsp, error) {    // 業務邏輯    // ...}grpc 客戶端:func (s Service ⌘ Read more