typo: add type keyword (#1992)

master
Gaffey 2 years ago committed by GitHub
parent 0f5d8c6be3
commit 2a900e1795
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save