Skip to content

Commit 66d9f35

Browse files
committed
Fix some error
1 parent c93ed67 commit 66d9f35

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

en/01.2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ Write the following content to main.go.
8080
package main
8181

8282
import (
83-
"mymath"
84-
"fmt"
83+
"mymath"
84+
"fmt"
8585
)
8686

8787
func main() {
88-
fmt.Printf("Hello, world. Sqrt(2) = %v\n", mymath.Sqrt(2))
88+
fmt.Printf("Hello, world. Sqrt(2) = %v\n", mymath.Sqrt(2))
8989
}
9090
```
9191

en/02.2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ var isActive bool // global variable
8989
var enabled, disabled = true, false // omit type of variables
9090

9191
func test() {
92-
var available bool // local variable
93-
valid := false // brief statement of variable
94-
available = true // assign value to variable
92+
var available bool // local variable
93+
valid := false // brief statement of variable
94+
available = true // assign value to variable
9595
}
9696
```
9797
### Numerical types

0 commit comments

Comments
 (0)