3 ms·
He isn't saying you need a semicolon in particular, but rather something should be used for redundancy so when a user makes an error it is detectable. The semic
by Jtsummers 11y ago
He isn't saying you need a semicolon in particular, but rather something should be used for redundancy so when a user makes an error it is detectable. The semicolon is just an example.
https://golang.org/ref/spec#Semicolons https://golang.org/ref/spec#Semicolons
Go uses semicolons, they can be dropped in place of a newline (NB: So instead of a semicolon, a newline becomes the redundancy he speaks of) under specific conditions.