# 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/gjxocoa
新提案:增加標準庫 Context 的取消 API
大家好,我是煎魚。協程(Goroutine)是 Go 語言的一個大殺器,而我們常常需要在多個協程之間進行各種協調和通訊。圖來自 @Soham Kamani所有 Go 有一個特別獨特的東西,他就是上下文(context),你會在各種函數的第一個入參處見到他,標配了。場景包含但不限於:依賴 context 傳遞公共的上下文信息。 使用 goroutine 時進行異步操作,依賴 context 進 ⌘ Read more