fixup! fix typo, use camel notation for all keys
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -104,7 +104,7 @@ func ParseConfig() (err error) { | ... | @@ -104,7 +104,7 @@ func ParseConfig() (err error) { |
| 104 | if err != nil { | 104 | if err != nil { |
| 105 | return err | 105 | return err |
| 106 | } else { | 106 | } else { |
| 107 | HttpAddr = AppConfig.String("httpaddr") | 107 | HttpAddr = AppConfig.String("HttpAddr") |
| 108 | 108 | ||
| 109 | if v, err := AppConfig.Int("HttpPort"); err == nil { | 109 | if v, err := AppConfig.Int("HttpPort"); err == nil { |
| 110 | HttpPort = v | 110 | HttpPort = v | ... | ... |
-
Please register or sign in to post a comment