# 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/xvqxb2q
Go 版本大於 1-13,程序裏這樣做錯誤處理才地道**
大家好,這裏是每週都在陪你進步的網管。之前寫過幾篇關於 Go 錯誤處理的文章,發現文章裏不少知識點都有點落伍了,比如 Go 在 1.13 後對錯誤處理增加了一些支持,最大的變化就是支持了錯誤包裝(Error Wrapping),以前想要在調用鏈路的函數里包裝錯誤都是用"github.com/pkg/errors"這個庫。Go 在 2019 年發佈的Go1.13版本也採納了錯誤包裝,並且還提供了幾個 ⌘ Read more