# 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/mgfzb2a
玩轉 Go 日誌框架 zap
轉自: https://juejin.cn/post/7125012224623509540本文包括兩部分,一部分是源碼解讀,另一部分是對 zap 的增強。由於 zap 是一個 log 庫,所以從兩方面來深入閱讀 zap 的源碼,一個是初始化 logger 的流程,一個是打一條 log 的流程。Github 地址:github.com/uber-go/zap…[1]初始化 Logger- ⌘ Read more