publish variables, inline short declarations for now

This commit is contained in:
Mark McGranaghan
2012-10-17 13:07:31 -07:00
parent cdc3184c30
commit 9f795ce5f3
5 changed files with 35 additions and 12 deletions

View File

@@ -9,7 +9,7 @@ import "fmt"
func main() {
// Strings, which can be added together with `+`.
fmt.Println("Hello " + "world")
fmt.Println("go" + "lang")
// Integers and floats.
fmt.Println("1+1 =", 1+1)