# 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/elfzrha
Go 如何模擬 HTTP 請求**
這一篇,我們來學習一下如何使用 httpmock 庫,當使用 Go 語言編寫 HTTP 服務時,可以使用第三方庫來模擬 HTTP 請求和響應,例如:httpmock 庫。這個庫提供了一些方便的函數和結構體,用於在測試中模擬 HTTP 請求和驗證期望的 HTTP 調用。 輕鬆模擬來自外部資源的 http 響應。 https://github.com/jarcoal/httpmock01 服務 ⌘ Read more