Skip to content

Commit

Permalink
Remove obsolete Config.Set return value
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Aug 23, 2020
1 parent 9dfd746 commit 77b9780
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config.go
Expand Up @@ -44,7 +44,7 @@ func (c Config) Value(name string) interface{} {
return nil
}

func (c *Config) Set(name, value string) interface{} {
func (c *Config) Set(name, value string) {
found := false
var opts []Option
for _, v := range c.Options {
Expand All @@ -61,5 +61,4 @@ func (c *Config) Set(name, value string) interface{} {
}

c.Options = opts
return nil
}

0 comments on commit 77b9780

Please sign in to comment.