# 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/2svqteq
Go 泛型實戰 - 如何在結構體中使用泛型**
01 目標假設我們要實現一個 blog 系統,我們有兩個結構體:分類和文章。爲了提高系統的性能,我們需要實現一個緩存系統,該緩存可以用於緩存該系統中的分類和文章。分類和文章的結構體類型定義如下:type Category struct { ID int32 Name string Slug string}type Post struct { ID int32 Cate ⌘ Read more