# 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/bxrw7fa
Go 中正確使用依賴注入**
轉自: https://juejin.cn/post/7130001318046859272依賴注入----依賴注入可以降低代碼的耦合度。某功能依賴另一個實現,但是與該實現無任何責任。它只接收該實現並使用該實現,可以通過依賴注入方式進行解耦。比如以下例子,UserService 依賴很多模塊。Service 依賴很多模塊,我們可以將這部分內容都設置到 UserService 中,但這樣耦 ⌘ Read more