# 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/vq3tgya
Go 範型下,優雅的 Lodash 風**
推薦理由--------go 語言比較崇尚簡單,所以在內嵌包中沒有提供過多幫助性的函數,尤其在範型出來前想要寫一個簡單的對 slice 和 map 間互相轉化的方法可能就需要很多行代碼,並且這樣並不是很優雅。如今,go 範型已經得到官方的正式發佈,samber/lo 又提供了優雅的 lodash 風格的工具函數,正是代碼重構的好時機。常見的使用場景----------- 這裏只是用 slice ⌘ Read more