# 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/rjw4gza
Go1-18 新特性:高效複製,strings- bytes 標準庫新增 Clone API
大家好,我是煎魚。Go1.18 過幾周(3 月份)就要發佈了,先前我們已經更新了好幾期新版本特性,今天給大家帶來一個新的優化類的內容,是與 strings 和 bytes 標準庫有關。背景--想要更快捷複製在日常編程中,字節 []byte 是經常需要複製的。需要寫以下代碼:dup := make([]byte, len(data))copy(dup, data)@Ilia Choly 覺得這就太麻 ⌘ Read more=