# 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/xbnnlqq
go wire 入門連載二:單體應用注入項目**
之前寫過一篇文章,主要是介紹 wire 的多個依賴注入實現 go wire 入門實際使用中,很多人用的是框架,比如 kratos 是單體應用,這裏再着重介紹一下,這方面的使用。一、wire 介紹---------wire 依賴注入 有兩個核心概念 providers 和 injectors 。 語法如下:wire.Build(provide1, provide2,\\*\\*\\*)providers,主要 ⌘ Read more