# 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/5h735ua
探討兩種 option 編程模式的實現**
前言\\-\\- 哈嘍,大家好,我是asong。option編程模式大家一定熟知,但是其寫法不唯一,主要是形成了兩個版本的option設計,本文就探討一下其中的優缺點。option編程模式的引出---------------在我們日常開發中,經常在初始化一個對象時需要進行屬性配置,比如我們現在要寫一個本地緩存庫,設計本地緩存結構如下:type cache struct { // hashFunc rep ⌘ Read more