# 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/spki74q
Go: 不要使用普通的通道發送通知**
通道 (channel) 是一種通過信號在 goroutine 之間進行通信的機制。信號可以有數據也可以沒有數據,但是對於 Go 開發者來說,處理沒有數據的情況並不是那麼簡單。下面通過一個具體的例子來深入研究它,在程序中,會創建一個通道,該通道將在發生特定斷開連接時發生通知,一種處理的思路是定義一個 chan bool 類型的通道。disconnectCh := make(chan bool)現在 ⌘ Read more
=