# 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/ouydj2a
爲什麼 go 中的 receiver name 不推薦使用 this 或者 self
前言 在日常的開發中我們除了定義函數以外, 我們還會定義一些方法。這本來沒有什麼, 但是一些從 PHP 或者其他面嚮對象語言轉 GO 的同學往往會把 receiver name 命名爲this, self, me等。筆者在實際項目開發中也遇到類似的同學, 屢次提醒卻沒有效果,於是決心寫下這篇文章以便好好說服這些同學。CR 標準做法-------首先我們來看一下 GO 推薦的標準命名Receive ⌘ Read more