# 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/n2l6oca
Go 中 main 函數的初始化優化 - 依賴注入**
原文鏈接:https://hongker.github.io/2021/03/31/golang-di/本文介紹在 golang 中如何通過依賴注入 (Dependency Inject,簡稱 DI) 管理全局服務。什麼是 DI------ 把有依賴關係的類放到容器中,解析出這些類的實例,就是依賴注入。DI 的作用------反面例子現在我們有一個 http 應用,先來看下常規開發的 main. ⌘ Read more