-
-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Bundle assets in binary #47
Labels
feature
New feature or request
Comments
Next year, probably with Go 1.16, embedding static files will be introduced into the standard library. https://go.googlesource.com/proposal/+/master/design/draft-embed.md |
It's live now: https://golang.org/pkg/embed/ |
TwiN
added a commit
that referenced
this issue
Oct 9, 2022
This was referenced Oct 9, 2022
TwiN
added a commit
that referenced
this issue
Oct 10, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Actually, assets are loaded using a relative path in the repository:
https://github.com/TwinProduction/gatus/blob/76d45d7eb8bca0dcf01e503234832d45e8aee884/main.go#L34
My proposal is to bundle assets into the
gatus
binary, to ease distribution with a single binary.This can probably be done with go-bindata.
The text was updated successfully, but these errors were encountered: