golang:经过reflect取struct的字段长度,手动取结构体tag与name的对应关系

type Config struct { Listen string `json:"listen" toml:"listen"` UserAPIURL string `json:"userapisrv" toml:"userAPIURL"` SecretKey string `json:"secret_key" toml:"se
相关文章
相关标签/搜索