fix: grammar mistakes

This commit is contained in:
Paul Waldmann
2018-11-18 05:03:43 +08:00
committed by Inanc Gumus
parent 9806e01284
commit 06891c57fc
27 changed files with 86 additions and 85 deletions

View File

@@ -4,4 +4,4 @@
2. **[Print hexes](https://github.com/inancgumus/learngo/tree/master/06-variables/01-basic-data-types/exercises/02-print-hexes)** (optional exercise)
Print numbers in hexadecimals
Print numbers in hexadecimal

View File

@@ -17,7 +17,7 @@ func main() {
// underscore is allowed but not recommended
var _speed int
// unicode letters are allowed
// Unicode letters are allowed
var 速度 int
// keep the compiler happy

View File

@@ -19,7 +19,7 @@ import "fmt"
// safe := true
// However, you can use the normal declaration at the
// package scope. Since, it has a keyword: `var`
// package scope. Since it has a keyword: `var`
var safe = true
func main() {

View File

@@ -49,7 +49,7 @@ b := true
```
* bool *CORRECT*
* string
* string
* int
* float64
@@ -59,7 +59,7 @@ i := 42
```
* bool
* string
* string
* int *CORRECT*
* float64
@@ -69,7 +69,7 @@ f := 6.28
```
* bool
* string
* string
* int
* float64 *CORRECT*
@@ -94,7 +94,7 @@ x, z := 10, "hi"
* 20
* false
## Which following declaration can be used in the package scope?
## Which of the following declaration can be used in the package scope?
* x := 10
* y, x := 10, 5

View File

@@ -1,6 +1,6 @@
# Assignments
Assignment means "copying" values. Everything is get copied in Go. You'll learn more about this afterwards.
Assignment means "copying" values. Everything is getting copied in Go. You'll learn more about this afterward.
Now, get your feet wet and try some assignment exercises.