added struct tags to config

This commit is contained in:
A_D 2018-11-16 22:34:52 +02:00
parent 5769fd101d
commit c55c30ec19
No known key found for this signature in database
GPG Key ID: C242F3DD220FA945
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ import (
type Config struct {
Secret string
BindHost string
BindPort string
BindHost string `json:"bind_host"`
BindPort string `json:"bind_port"`
}
func getConfig() Config {