aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.go
diff options
context:
space:
mode:
authorSergio Arbeo <serabe@gmail.com>2017-01-30 13:15:47 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2017-01-30 13:15:47 +0100
commitbb36105c3d9f3d92306450f7679cd99fb20d4e40 (patch)
tree46990fa018174a1faf7531dca72d560d9e24d129 /config/config.go
parentaa249bc28c6f6c4f5cb6fea2d71ea593f10431b0 (diff)
downloadgo-git-bb36105c3d9f3d92306450f7679cd99fb20d4e40.tar.gz
Fix typos in config pkg (#233)
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/config.go b/config/config.go
index fc6d84c..bf0cea2 100644
--- a/config/config.go
+++ b/config/config.go
@@ -55,7 +55,7 @@ func NewConfig() *Config {
}
}
-// Validate validate the fields and set the default values
+// Validate validates the fields and sets the default values
func (c *Config) Validate() error {
for name, r := range c.Remotes {
if r.Name != name {
@@ -153,7 +153,7 @@ type RemoteConfig struct {
raw *format.Subsection
}
-// Validate validate the fields and set the default values
+// Validate validates the fields and sets the default values
func (c *RemoteConfig) Validate() error {
if c.Name == "" {
return ErrRemoteConfigEmptyName