Re:Go command support for embedded static assets (files)
by DaiPlusPlus on Thursday July 23, 2020 @10:26PM
(#23935057)
I’d prefer a library that uses the IANA tzdb directly - so I can download the latest tzdb files for my application and OS without needing to wait for the maintainer of that library to ship an update.
[ Parent
| on HN ]
Re:Go command support for embedded static assets (files)
by elcomet on Friday July 24, 2020 @03:59AM
(#23936900)
You missed the point. This is not about timezones, but about the need that sometimes happen to embed files into a library.
Parent just chose timezones as an example.
Re:Go command support for embedded static assets (files)
by malandrew on Friday July 24, 2020 @04:06AM
(#23936940)
They used time zones to illustrate a point. Of course it’s generally best to use that file instead for that specific use case. Now imagine some data that isn’t shipped with Linux by default. That’s the point they were trying to make.