bisakhmondal commented on issue #1391: URL: https://github.com/apache/apisix-dashboard/issues/1391#issuecomment-821702445
Hii all, can I open a PR here? Yesterday I was giving it a casual try after a bit of conversation with @nic-chen and It seems I have completed the goalπ . Dev branch [link](https://github.com/bisakhmondal/apisix-dashboard/tree/embed_assets) Go 1.16 release has official support for embedding static files into generated go binary. Here's the [release notes](https://golang.org/doc/go1.16). Just FYI, the package `go-bindata` has been achieved and not been maintained for a long time. So I went with the new `embed` package and `go:embed` directive of go 1.16. here's the stats plain binary ``` π₯β output git:(embed_assets) du -h manager-api 26M manager-api ``` web assets ``` π₯β output git:(embed_assets) du -sh html 18M html ``` binary with web assets ``` π₯β output git:(embed_assets) du -h manager-api 44M manager-api ``` Thanks :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
