On 26 December 2014 at 12:34, JohnGB wrote:
(...)
I'm tempted to go with the switch method, but before I commit to that,
I'd like feedback on it,
or pointers to any other examples or methods that have been well executed.
(...)
I'm tempted to go with the switch method, but before I commit to that,
I'd like feedback on it,
or pointers to any other examples or methods that have been well executed.
implementation in future in no time.
For example time package uses map, codegen tool:
http://golang.org/src/time/genzabbrs.go
and its output:
http://golang.org/src/time/zoneinfo_abbrs_windows.go
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.