typo: add type keyword (#1992)
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
1. Define a config structure, like below:
|
1. Define a config structure, like below:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
RestfulConf struct {
|
type RestfulConf struct {
|
||||||
Host string `json:",default=0.0.0.0"`
|
Host string `json:",default=0.0.0.0"`
|
||||||
Port int
|
Port int
|
||||||
LogMode string `json:",options=[file,console]"
|
LogMode string `json:",options=[file,console]"
|
||||||
|
|||||||
Reference in New Issue
Block a user