From 66d9f35fef79634d633f6c9eb33e1721a10e8ae6 Mon Sep 17 00:00:00 2001 From: vCaesar Date: Sat, 1 Jul 2017 00:06:45 +0800 Subject: [PATCH] Fix some error --- en/01.2.md | 6 +++--- en/02.2.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/en/01.2.md b/en/01.2.md index 46600e6c4..c896345cc 100644 --- a/en/01.2.md +++ b/en/01.2.md @@ -80,12 +80,12 @@ Write the following content to main.go. package main import ( -"mymath" -"fmt" + "mymath" + "fmt" ) func main() { -fmt.Printf("Hello, world. Sqrt(2) = %v\n", mymath.Sqrt(2)) + fmt.Printf("Hello, world. Sqrt(2) = %v\n", mymath.Sqrt(2)) } ``` diff --git a/en/02.2.md b/en/02.2.md index 45cb2afb0..b69cc589e 100644 --- a/en/02.2.md +++ b/en/02.2.md @@ -89,9 +89,9 @@ var isActive bool // global variable var enabled, disabled = true, false // omit type of variables func test() { -var available bool // local variable -valid := false // brief statement of variable -available = true // assign value to variable + var available bool // local variable + valid := false // brief statement of variable + available = true // assign value to variable } ``` ### Numerical types