# 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/go3igsq
Go 語言中常見問題 - 忽視表驅動測試**
表驅動測試是編寫精簡測試的一種有效技術。它減少了樣板代碼(具有固定模式的代碼塊,冗餘但是又不得不寫),幫助我們更加專注於重要的事情:測試邏輯。本文將通過一個具體的例子來說明爲什麼使用表驅動測試值得我們瞭解。下面函數實現的功能是將給定字符串的後綴 \\ n 或 \\ r\\\\n 全部刪除,直到末尾不含換行符 \\ n 或 \\ r\\\\n 終止。func removeNewLineSuffixes(s string ⌘ Read more