Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
earhart
· 5y ago · 0 comments
Go supports untyped constants --
https://golang.org/ref/spec#Constants
. It's useful for defining a named constant, and then using the name to initialize variable values of any compatible type.
Comments
No comments yet.
Better HN