# 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/xv5cnpq
Go 語言中排序的 3 種方法**
在寫代碼過程中,排序是經常會遇到的需求,本文會介紹三種常用的方法。廢話不多說,下面正文開始。使用標準庫-----根據場景直接使用標準庫中的方法,比如:sort.Ints sort.Float64s sort.Strings 舉個例子:s := []int{4, 2, 3, 1}sort.Ints(s)fmt.Println(s) // [1 2 3 4]自定義比較器------使 ⌘ Read more
=