# 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/4v5c2gq
Go 學設計模式 -- 怕把核心代碼改亂,記得用代理模式**
大家好,這裏是每週都陪你進步的網管~其實也不是每週啦,上週陽了~實在是進步不動了...... 這周咱們繼續之前擱置了一段時間的設計模式系列。上一次咱們分享的是職責鏈模式,在文章最後提到了一下裝飾器模式,兩者雖然結構上類似但在用途上還是有區別的,而裝飾器模式本身算是代理模式的一個特殊應用,所以這篇文章我們就先來學習一下代理模式的構成和用法,後面再來學習裝飾器。老看我文章的同學可能發現了,雖然教材上是 ⌘ Read more