# 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/xovnuua
不想 Go 錯誤處理太臃腫,可以參考這個代碼設計**
最近寫了個程序,因爲是急活(貌似沒有不急的...),所以這個程序又是我東拷一段,西粘一塊拼出來的。代碼寫完了後,感覺這代碼屎一樣,都快把自己看哭了。真的是在心裏邊寫別罵,先是罵以前做這個項目的人蠢,項目搞的跟屎一樣,後來代碼跑起來了,順利交工後,變成了罵我自己蠢,這麼寫又不是不能用!不過在這個過程中,先不提項目裏的業務邏輯、接口設計合不合理的事兒,這個我覺得在時間緊,加上人員更迭快的時候,正常人都 ⌘ Read more