# 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/kxqelxa
在 Golang 中玩轉依賴注入 - dig 篇**
什麼是依賴注入?有時候一個結構體非常複雜,包含了非常多各種類型的屬性,這些屬性又包含了更多的屬性,當我們創建這樣一個結構體時需要編寫大量的代碼。面向接口編程可以讓我們的代碼避免耦合更具擴展性,但統一更換接口實現時需要大範圍的修改代碼。依賴注入幫助我們解決類似的問題,依賴注入框架能夠自動解析依賴關係,幫助我們自動構建結構體實例。依賴注入可以對接口注入實例,讓整個代碼系統不用關注具體的接口實現。由於 ⌘ Read more