Re:Go 1.9 Beta 1 release notes
by ithkuil on Thursday June 15, 2017 @03:22PM
(#14563564)
Go constants are untyped, which means you can pass a number as argument to a function that takes a type whose underlying type is an integer (e.g. time.Duration) without having to explicitly mention the type. That's how time.Sleep(5 * time.Minute) works
[ Parent
| on HN ]
There are no comments on this comment yet.