# 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/inq3ldq
Go1-21 速覽:Context 可以設置取消原因和回調函數了,等的可太久了!**
大家好,我是煎魚。在 Go 中有一個很經典的設計:context,這是許多同學初學時必學的標準庫。涉及到上下文傳遞、超時控制等必要項。甚至在函數體中的第一個參數大多是傳 context。寫第三方庫也必須兼容 context 設置,否則會經常有人提需求讓你支持。我覺得這次的新特性更新雖不復雜,但作用挺大。建議大家學習!Context Demo------------以下是一個快速 Demo:pack ⌘ Read more