Re:Proposal: expression to create pointer to simple types
by earhart on Monday April 19, 2021 @11:26AM
(#26863795)
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.
[ Parent
| on HN ]
There are no comments on this comment yet.