-
Notifications
You must be signed in to change notification settings - Fork 0
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
Added version endpoint #5
Conversation
3831862
to
6d9bfb7
Compare
92b85aa
to
a811972
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a fan of doing search replace in the files that will be compiled. Consider using environment variables or a config file that the code instead reads to build the Version struct.
f367fef
to
ab0d164
Compare
ab0d164
to
fdd5162
Compare
I'm quite happy that I found this: https://golang.org/pkg/embed/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
version.go
withGET /import/github/version
endpointdeploy/update-version.sh
to updateversion.yaml
on Docker buildBUILD_*
build argsCHANGELOG.md
swag init
docs & usage as we're now relying on types from foreign packages (app.Version
)Based on iver-wharf/wharf-core#2
Closes #6