Skip to content

Commit

Permalink
Fix some error
Browse files Browse the repository at this point in the history
  • Loading branch information
vcaesar committed Jun 30, 2017
1 parent c93ed67 commit 66d9f35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions en/01.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
```

Expand Down
6 changes: 3 additions & 3 deletions en/02.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66d9f35

Please sign in to comment.