From 3b8e12b0dbdd8cf5d9ff8860dd75fd419a4a8543 Mon Sep 17 00:00:00 2001 From: "runner-local-2[bot]" <129531469+runner-local-2[bot]@users.noreply.github.com> Date: Tue, 4 Apr 2023 13:35:19 +0000 Subject: [PATCH] style: Format code with gofmt Format code with gofmt This commit fixes the style issues introduced in 947d77b according to the output from gofmt. Details: http://localhost/gh/TransientOrg/demo-go/transform/d7ca267e-981a-40e9-823b-4ac1de8720e7/ --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index c08bc86..da032ea 100644 --- a/main.go +++ b/main.go @@ -3,7 +3,7 @@ package main import "fmt" const ( - productPath string = "/tmp/products.json" + productPath string = "/tmp/products.json" sellerPath string = "/tmp/sellers.json" ) @@ -17,9 +17,9 @@ func main() { var i GenericInterface i = &s - givenCity := "Gotham" + givenCity := "Gotham" - switch i.(type) { + switch i.(type) { case interface{}: fmt.Println("What to do") case Product: