summaryrefslogtreecommitdiff
path: root/plugins/config
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/config')
-rw-r--r--plugins/config/interface.go2
-rwxr-xr-xplugins/config/plugin.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/config/interface.go b/plugins/config/interface.go
index 8370c0ab..59ad981f 100644
--- a/plugins/config/interface.go
+++ b/plugins/config/interface.go
@@ -1,7 +1,7 @@
package config
type Configurer interface {
- // // UnmarshalKey takes a single key and unmarshals it into a Struct.
+ // UnmarshalKey takes a single key and unmarshals it into a Struct.
//
// func (h *HttpService) Init(cp config.Configurer) error {
// h.config := &HttpConfig{}
diff --git a/plugins/config/plugin.go b/plugins/config/plugin.go
index 09fd35bb..58647eb8 100755
--- a/plugins/config/plugin.go
+++ b/plugins/config/plugin.go
@@ -23,7 +23,7 @@ type Viper struct {
CommonConfig *General
}
-// Inits config provider.
+// Init config provider.
func (v *Viper) Init() error {
const op = errors.Op("config_plugin_init")
v.viper = viper.New()