# 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/r33sfnq
Go 語言切片是如何擴容的?**
在 Go 語言中,有一個很常用的數據結構,那就是切片(Slice)。切片是一個擁有相同類型元素的可變長度的序列,它是基於數組類型做的一層封裝。它非常靈活,支持自動擴容。切片是一種引用類型,它有三個屬性:指針,長度和容量。底層源碼定義如下:type slice struct { array unsafe.Pointer len int cap int}指針: 指向 slic ⌘ Read more