# 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/qxdrrya
一種優雅的 Golang 的庫插件註冊加載機制**
如何增加框架的擴展性,可能多少都會想到 “插件” 機制,本質上是可以把第三方開發庫快速融入項目的方法。本文介紹的就是這麼一種方法。 最近看到一個項目的插件加載機制,非常贊。當然這裏說的插件並不是指的 golang 原生的可以在 buildmode 中加載指定 so 文件的那種加載機制。而是軟件設計上的「插件」。如果你的軟件是一個框架,或者一個平臺性產品,想要提升擴展性,即可以讓第三方進行 ⌘ Read more