From ba8674afc6e829950b174c3155fb93f996e262b8 Mon Sep 17 00:00:00 2001 From: Amirhossein Banavi Date: Sun, 10 Jul 2022 08:12:07 +0000 Subject: [PATCH] remove extra space in switch example --- examples/switch/switch.go | 2 +- examples/switch/switch.hash | 4 ++-- public/switch | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/switch/switch.go b/examples/switch/switch.go index 2d2ec2e..c71da73 100644 --- a/examples/switch/switch.go +++ b/examples/switch/switch.go @@ -12,7 +12,7 @@ func main() { // Here's a basic `switch`. i := 2 - fmt.Print("Write ", i, " as ") + fmt.Print("Write", i, "as") switch i { case 1: fmt.Println("one") diff --git a/examples/switch/switch.hash b/examples/switch/switch.hash index 1bd1eaa..94e43ba 100644 --- a/examples/switch/switch.hash +++ b/examples/switch/switch.hash @@ -1,2 +1,2 @@ -28a8909ee7963cb315f14a3be1607def1d91f3a3 -qVDqWoUQ6AI +a75f1e0ed780c28f4ca0d4c0eaad367ff7e6a1d2 +jnRr9Iz5vJ9 diff --git a/public/switch b/public/switch index aaab93d..bc4e037 100644 --- a/public/switch +++ b/public/switch @@ -42,7 +42,7 @@ branches.

- +
package main
 
@@ -82,7 +82,7 @@ branches.

     i := 2
-    fmt.Print("Write ", i, " as ")
+    fmt.Print("Write", i, "as")
     switch i {
     case 1:
         fmt.Println("one")
@@ -200,7 +200,7 @@ type corresponding to its clause.