File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -80,12 +80,12 @@ Write the following content to main.go.
80
80
package main
81
81
82
82
import (
83
- " mymath"
84
- " fmt"
83
+ " mymath"
84
+ " fmt"
85
85
)
86
86
87
87
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 ))
89
89
}
90
90
```
91
91
Original file line number Diff line number Diff line change @@ -89,9 +89,9 @@ var isActive bool // global variable
89
89
var enabled , disabled = true , false // omit type of variables
90
90
91
91
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
95
95
}
96
96
```
97
97
### Numerical types
You can’t perform that action at this time.
0 commit comments