Format some file using gofmt
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
1cc294872b
commit
fd835e1fcd
5 changed files with 26 additions and 26 deletions
|
@ -215,7 +215,7 @@ func LoadConfig(configuration *Configuration, gloablConfiguration *GlobalConfigu
|
|||
|
||||
func Invoke(any interface{}, name string, args ...interface{}) []reflect.Value {
|
||||
inputs := make([]reflect.Value, len(args))
|
||||
for i, _ := range args {
|
||||
for i := range args {
|
||||
inputs[i] = reflect.ValueOf(args[i])
|
||||
}
|
||||
return reflect.ValueOf(any).MethodByName(name).Call(inputs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue