diff --git a/examples/variables/variables.hash b/examples/variables/variables.hash index ae31cd9..316281a 100644 --- a/examples/variables/variables.hash +++ b/examples/variables/variables.hash @@ -1,2 +1,2 @@ -f7a75d8fb2525099e9de6c5a5916e2411c5f3489 -1FnG0dJfxs8 +636a63e1bf810cb9d0620cc5160330f6d3d8679d +kwm2xuWnlKq diff --git a/public/variables b/public/variables index 7f81e33..ebe52cc 100644 --- a/public/variables +++ b/public/variables @@ -41,7 +41,7 @@ calls.
package main
int
is 0
.
The :=
syntax is shorthand for declaring and
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)
}