# 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/nexvsya
Go 語言怎麼優化重複的 if err -- nil 樣板代碼?**
01 介紹Go 語言的錯誤處理在社區中一直被部分 Go 開發者詬病,其中重複的 if err != nil 樣板代碼是最令 Go 開發者難以忍受的,嚴重降低代碼的可讀性。針對這個社區爭論非常激烈的話題,筆者介紹兩種優化重複的 if err != nil 樣板代碼的方式。02 封裝錯誤檢查函數錯誤檢查函數示例代碼:func CheckErrors (err error) {    if err != ⌘ Read more
=