# 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/zzqnhla
Go 每日一庫之 bitset
簡介--我們都知道計算機是基於二進制的,位運算是計算機的基礎運算。位運算的優勢很明顯,CPU 指令原生支持、速度快。基於位運算的位集合在有限的場景中替換集合數據結構可以收到意想不到的效果。bitset庫實現了位集合及相關操作,不妨拿來即用。安裝--本文代碼使用 Go Modules。創建目錄並初始化:$ mkdir -p bitset && cd bitset$ go mod init githu ⌘ Read more