Explorar o código

typo: add type keyword (#1992)

Gaffey %!s(int64=2) %!d(string=hai) anos
pai
achega
2a900e1795
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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]"