소스 검색

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