modified 增加结构体描述,完善自动化文档

This commit is contained in:
何秀钢
2021-05-14 11:33:14 +08:00
parent c37ea861eb
commit 0f45d3830a
10 changed files with 69 additions and 39 deletions

View File

@@ -1,7 +1,7 @@
package config
type Email struct {
To string `mapstructure:"to" json:"to" yaml:"to"` // 收件人
To string `mapstructure:"to" json:"to" yaml:"to"` // 收件人:多个以英文逗号分隔
Port int `mapstructure:"port" json:"port" yaml:"port"` // 端口
From string `mapstructure:"from" json:"from" yaml:"from"` // 收件人
Host string `mapstructure:"host" json:"host" yaml:"host"` // 服务器地址