瀏覽代碼

typo: add type keyword (#1992)

Gaffey 2 年之前
父節點
當前提交
2a900e1795
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/conf/readme.md

+ 1 - 1
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]"