Hacker News new | ask | show | jobs
by jchw 563 days ago
> Icons are converted into Go arrays using the 2goarray tool. Scripts (generate.bat and generate.sh) handle the conversion.

Barring any particular reason not to, I recommend switching to Go 1.16+'s native embed mechanism, which doesn't require code generation and should improve build times.

https://pkg.go.dev/embed