# 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/yrglbra
Go 幾種讀取配置文件的方式**
比較有名的方案有使用 viper 管理配置 [1]----------------- 支持多種配置文件格式,包括 JSON,TOML,YAML,HECL,envfile,甚至還包括 Java properties 支持爲配置項設置默認值 可以通過命令行參數覆蓋指定的配置項 支持參數別名 viper[2] 按照這個優先級(從高到低)獲取配置項的取值:explicit ⌘ Read more