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,5 +1,5 @@
package config
type Casbin struct {
ModelPath string `mapstructure:"model-path" json:"modelPath" yaml:"model-path"` // Model路径
ModelPath string `mapstructure:"model-path" json:"modelPath" yaml:"model-path"` // 存放casbin模型的相对路径
}