summaryrefslogtreecommitdiff
path: root/plugins/config
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-22 00:48:35 +0300
committerValery Piashchynski <[email protected]>2021-04-22 00:48:35 +0300
commite4d65a41ec90747a387cfe769f743327959f7105 (patch)
tree2b5245fa0a86197d4699fc840c658ffa86cd957b /plugins/config
parente1e168da92e0dca0e067e08ecb4cf264b9344d45 (diff)
- General interface, update RPC and Has/Set methods
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()