3 ms·
> Icons are converted into Go arrays using the 2goarray tool. Scripts (generate.bat and generate.sh) handle the conversion. Barring any particular reason not t
by jchw 2y 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 https://pkg.go.dev/embed