diff --git a/core/conf/readme.md b/core/conf/readme.md index d5143c55..81c0ea7e 100644 --- a/core/conf/readme.md +++ b/core/conf/readme.md @@ -3,7 +3,7 @@ 1. Define a config structure, like below: ```go -RestfulConf struct { +type RestfulConf struct { Host string `json:",default=0.0.0.0"` Port int LogMode string `json:",options=[file,console]"