From 2decbaf729b443ef4d85b44c7120bf73190fc15e Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 2 Oct 2016 22:09:24 +0800 Subject: [PATCH] fix typo. Signed-off-by: Bo-Yi Wu --- config/config.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/config/config.go b/config/config.go index cf56239..f98c8a7 100644 --- a/config/config.go +++ b/config/config.go @@ -16,7 +16,7 @@ type ConfYaml struct { Stat SectionStat `yaml:"stat"` } -// SectionCore is sub seciont of config. +// SectionCore is sub section of config. type SectionCore struct { Port string `yaml:"port"` MaxNotification int64 `yaml:"max_notification"` @@ -30,7 +30,7 @@ type SectionCore struct { PID SectionPID `yaml:"pid"` } -// SectionAPI is sub seciont of config. +// SectionAPI is sub section of config. type SectionAPI struct { PushURI string `yaml:"push_uri"` StatGoURI string `yaml:"stat_go_uri"` @@ -39,13 +39,13 @@ type SectionAPI struct { SysStatURI string `yaml:"sys_stat_uri"` } -// SectionAndroid is sub seciont of config. +// SectionAndroid is sub section of config. type SectionAndroid struct { Enabled bool `yaml:"enabled"` APIKey string `yaml:"apikey"` } -// SectionIos is sub seciont of config. +// SectionIos is sub section of config. type SectionIos struct { Enabled bool `yaml:"enabled"` KeyPath string `yaml:"key_path"` @@ -53,7 +53,7 @@ type SectionIos struct { Production bool `yaml:"production"` } -// SectionLog is sub seciont of config. +// SectionLog is sub section of config. type SectionLog struct { Format string `yaml:"format"` AccessLog string `yaml:"access_log"` @@ -63,7 +63,7 @@ type SectionLog struct { HideToken bool `yaml:"hide_token"` } -// SectionStat is sub seciont of config. +// SectionStat is sub section of config. type SectionStat struct { Engine string `yaml:"engine"` Redis SectionRedis `yaml:"redis"` @@ -72,30 +72,30 @@ type SectionStat struct { LevelDB SectionLevelDB `yaml:"leveldb"` } -// SectionRedis is sub seciont of config. +// SectionRedis is sub section of config. type SectionRedis struct { Addr string `yaml:"addr"` Password string `yaml:"password"` DB int `yaml:"db"` } -// SectionBoltDB is sub seciont of config. +// SectionBoltDB is sub section of config. type SectionBoltDB struct { Path string `yaml:"path"` Bucket string `yaml:"bucket"` } -// SectionBuntDB is sub seciont of config. +// SectionBuntDB is sub section of config. type SectionBuntDB struct { Path string `yaml:"path"` } -// SectionLevelDB is sub seciont of config. +// SectionLevelDB is sub section of config. type SectionLevelDB struct { Path string `yaml:"path"` } -// SectionPID is sub seciont of config. +// SectionPID is sub section of config. type SectionPID struct { Enabled bool `yaml:"enabled"` Path string `yaml:"path"`