e0898fbfa3c6b4103417f3d5e64e2ea795dff01e — coltonhurst 10 months ago 600e325
Added comments to 1.1.12 explaining the printf verbs
1 files changed, 10 insertions(+), 1 deletions(-)

M basics/packages-variables-functions/1.1.12_zero-values.go
M basics/packages-variables-functions/1.1.12_zero-values.go => basics/packages-variables-functions/1.1.12_zero-values.go +10 -1
@@ 1,7 1,16 @@
 /*
 	Notes 1.1.12
 
-
+	- Variables declared without an explicit initial value
+	  are given their 'zero' value
+	- Zero values:
+	  - numeric types = 0
+	  - boolean type = false
+	  - string types = ""
+	- Printf verbs:
+	  - %v is the value in a default format
+	  - %q a single quoted character literal that's safely escaped with Go syntax
+	  - more: https://golang.org/pkg/fmt/
 */
 
 package main