Merge pull request #213 from coltonhurst/master
Change example text in variables.go
This commit is contained in:
commit
9f4f06d27d
@ -28,7 +28,7 @@ func main() {
|
|||||||
|
|
||||||
// The `:=` syntax is shorthand for declaring and
|
// The `:=` syntax is shorthand for declaring and
|
||||||
// initializing a variable, e.g. for
|
// initializing a variable, e.g. for
|
||||||
// `var f string = "short"` in this case.
|
// `var f string = "apple"` in this case.
|
||||||
f := "short"
|
f := "apple"
|
||||||
fmt.Println(f)
|
fmt.Println(f)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user