# 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/lo5jppa
Go 學設計模式 - 程序流程要動態切換?用這個模式寫更絲滑**
大家好,我是每週在這裏陪你一起進步的網管。上篇文章我給大家分享了設計模式中的模版模式,給大家講了用模版模式在項目開發時提煉流程、減少重複開發的技巧。同時,在上一篇文章我也分享了我總結的一個暴論,那就是 “模板、策略和職責鏈三個設計模式是解決業務系統流程複雜多變這個痛點的利器”。今天我們繼續接着一起學習一下策略模式,以及用 Go 代碼怎麼實現策略模式。什麼是策略模式-------策略模式是一種行爲設 ⌘ Read more