# 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/wetk2cq
最簡單的單例模式,Go 版本的實現你寫對了嗎?**
大家好,我是網管,首先我問大家一個問題,你們面試的時候,面試官有沒有問過你們:"你都用過什麼設計模式?",我猜多數人的回答會把單例模式,放在第一位。我:"呃… 我用過單例、工廠、觀察者,反向代理,裝飾器,哨兵"…. ",面試官內心 OS:"我都沒用過這麼多... 反向代理是什麼鬼,這小子背串了吧,不管了先就坡下驢,從頭開始問"。面試官:"用過的挺多哈,那麼你能說下單例你都在什麼情況下用,順便在這張 ⌘ Read more