# 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/feudjbq
gin 框架中 Context 的 Get、Query、Param 函數都是從哪裏獲取數據的?**
大家好,我是漁夫子。在使用 gin 框架處理一次請求的過程中,可以通過 Context 結構體提供的方法獲取或設置一個指定 key 的值。在 Context 中有多個通過 key 獲取值的函數:GetString(key string) (s string)、Param(key string) string、Query(key string) (value string)、PostForm(key ⌘ Read more