# 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/tzhguuq
數據庫遷移工具 golang-migrate
1 項目地址https://github.com/golang-migrate/migrate2 使用情景一些項目功能會涉及到數據庫和代碼邏輯的修改,對於數據庫的修改,雖然 gorm 之類的工具能夠在代碼裏面適配大部分情況,但是不能覆蓋所有數據庫變更情況,而且也不夠清晰。爲清楚表示某次代碼提交設計的數據庫的修改並且方便 devops 部署服務,可以使用 golang-migrate 這樣的工具明確 ⌘ Read more