mirror of
https://github.com/muesli/mastotool
synced 2024-12-28 10:21:51 +01:00
Remove obsolete Config.Set return value
This commit is contained in:
parent
9dfd746a5a
commit
77b97800fd
@ -44,7 +44,7 @@ func (c Config) Value(name string) interface{} {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *Config) Set(name, value string) interface{} {
|
func (c *Config) Set(name, value string) {
|
||||||
found := false
|
found := false
|
||||||
var opts []Option
|
var opts []Option
|
||||||
for _, v := range c.Options {
|
for _, v := range c.Options {
|
||||||
@ -61,5 +61,4 @@ func (c *Config) Set(name, value string) interface{} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
c.Options = opts
|
c.Options = opts
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user