# 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/h4nfzua
Golang 的異常處理**
Golang 的異常處理 ---------------Golang的優點有很多,以前的文章中也有提到過,但也有很多槽點爲 Gopher 所詬病,尤其是 錯誤處理。在說錯誤和異常之前,先要說兩個概念:錯誤處理:錯誤是業務中的一部分,是可以預見的。異常處理:非業務的一部分,不可預見的。錯誤處理首先看一下示例代碼:file, err := os.Open("/usr/local/test.txt") ⌘ Read more
=