August 2016
Beginner to intermediate
665 pages
14h 11m
English
You'll note that despite preferring camelCase for most of our variables, we have some uppercase variables within structs. This is an important Go convention worth mentioning: any struct variable that begins with a capital letter is public. Any variable that begins with a lowercase letter is private.
If you attempt to output a private (or nonexistent) variable in your template files, template rendering will fail.
Read now
Unlock full access