Example
- Maps are maps
- Getter returns a second result, a boolean, telling of the key was present
C
declaration and index referencing and default values and len
and multi-dimensionalb := [5]int{1, 2, 3, 4, 5}
slices
are betterC
C
const
keyword can appear anywhere, maybe declaring a type=
:=
→ declaration of, inference and assignment to,
format for joining values is nice.ID: org_gcr_2017-08-08_mara:33B2158C-BC69-4D0B-9853-C0284A0EC605
Go has first class Unicode support. What do upper-case and lower-case mean when there is no such thing for the character? Does it fail with an error or not? How do you compare the size or length of Unicode characters?
fmt.Println("? Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo ")
? Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo