# 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/sgslm4q
Go 高性能 - 打印調用堆棧**
概述在工程代碼中需要在異常場景打印相應的日誌,記錄重要的上下文信息。如果遇到 panic 或 error 的情況, 這時候就需要詳細的 堆棧信息 作爲輔助來排查問題,本小節就來介紹兩種常見的獲取 堆棧信息 方法, 然後對兩種方法進行基準測試,最後使用測試的結果進行性能對比並分析差異。runtime.Stack通過標準庫提供的 runtime.Stack 相關 API 來獲取。示例--package ⌘ Read more