# 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/2jjnhbq
三種獲取 Go 項目根目錄的方式,讓你做架構,選哪種?**
大家好,這裏是每週都陪你進步的網管~在搭建項目中一般都會有確定項目根目錄的絕對路徑的需求,一旦有了根目錄的絕對路徑,就能以這個根目錄爲基準,設置靜態文件、配置文件所在的目錄,這樣做的好處是無論把項目部署到哪個目錄下,執行程序時都不會出現No such file or directory 這樣的錯誤。今天就總結一下在 Go 程序裏邊怎麼獲取項目的根目錄絕對路徑。在網上搜索怎麼獲取 Go 項目的根目錄 ⌘ Read more