# 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/jblciga
Golang - 選項模式 vs 構建器模式**
在使用 Golang 創建複雜對象時,常用的兩種模式是選項模式(Options pattern)和構建器模式(Builder pattern)。這兩種模式各有優缺點,選擇適合項目需求的模式取決於具體情況。問題假設我們想創建一個具有許多可選參數的複雜對象。一種方法是創建一個構造函數,該構造函數接受所有參數,併爲可選參數提供默認值。然而,這種方法有一些缺點:1. 很難記住參數的順序。 2. 很難 ⌘ Read more