bzp2010 edited a comment on issue #542: URL: https://github.com/apache/apisix-dashboard/issues/542#issuecomment-709683506
Work branch: [Click Here](https://github.com/bzp2010/apisix-dashboard/pull/1) Github Workflow: [Click Here](https://github.com/bzp2010/apisix-dashboard/blob/master/.github/workflows/api_newci.yml) ## implemention > The virtual file system provided by `rakyll/statik` is used to store files (static files are actually stored in `statik.go` files in the form of strings), and then a new routing path `/dashboard/` is established by using the gin framework to provide static file services. ## feature - [x] modify some front end codes - [x] Packing (It worked on my own computer) > It's use [rakyll/statik](https://github.com/rakyll/statik) library. - [ ] build by Github Actions ## problem - The binary program provided by `rakyll/statik` is used for packaging, but after executing the go get instruction in GitHub Actions, the program is not in the PATH env and needs to be processed. > Error Message like this: main.go:18: running "statik": exec: "statik": executable file not found in $PATH ---------------------------------------------------------------- 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]
