# 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/3crs4ca
go 的 sort 包真心強大,但你真的會用嗎**
讀書的時候,最重要的是成績的排序;工作的時候是能力,金錢的排序;戀愛的時候,也有對愛的排序。這些都是走過的路,是已經確定的排序。 對於做後端的同學,對數據的排序一定不會陌生。比如在一個分頁查詢商品信息的頁面,需要根據商品的創建時間倒序排列,也就是最新創建的商品排在最前面。這個需求實現起來很簡單,只需要使用 sql 的排序語句就可以實現select from product order by c ⌘ Read more