You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on #21785, I found that since go:embed doesn't do any kind of asset compression, using it as-is to embed the UI resulted in a very large increase in the compiled binary size.
To use go:embed for embedding the UI files, we would need to compress the UI files prior to embedding them, and handle serving the compressed files appropriately. As noted in #21785, something like https://github.com/vearutop/statigz might provide the solution.
danxmoran
changed the title
Use go:embed for serving status UI files
Use go:embed for serving static UI files
Jul 22, 2021
Now that we are using
go1.16
, we can refactor the static asset server to usego:embed
rather thango-bindata
.The text was updated successfully, but these errors were encountered: