Remove obsolete Config.Set return value

This commit is contained in:
Christian Muehlhaeuser 2020-08-23 12:09:26 +02:00
parent 9dfd746a5a
commit 77b97800fd
No known key found for this signature in database
GPG Key ID: 3CF9FA45CA1EBB7E
1 changed files with 1 additions and 2 deletions

View File

@ -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 {
@ -61,5 +61,4 @@ func (c *Config) Set(name, value string) interface{} {
}
c.Options = opts
return nil
}