From bde23a0219729e530895153b12d5578e9f02dab8 Mon Sep 17 00:00:00 2001 From: Matej Vasek Date: Tue, 2 Feb 2021 21:15:29 +0100 Subject: [NO TESTS NEEDED] style: indendation Signed-off-by: Matej Vasek --- pkg/bindings/generator/generator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/bindings/generator/generator.go b/pkg/bindings/generator/generator.go index 609d3ffcf..dad154166 100644 --- a/pkg/bindings/generator/generator.go +++ b/pkg/bindings/generator/generator.go @@ -54,7 +54,7 @@ func (o *{{.StructName}}) ToParams() (url.Values, error) { if reflect.Ptr == f.Kind() { f = f.Elem() } - switch { + switch { case util.IsSimpleType(f): params.Set(fieldName, util.SimpleTypeToParam(f)) case f.Kind() == reflect.Slice: -- cgit v1.2.3-54-g00ecf