Skip to content
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 pkg/app/version.go and examples, changelog, and go.mod #2

Merged
merged 7 commits into from
May 26, 2021

Conversation

applejag
Copy link
Contributor

@applejag applejag commented May 20, 2021

You see in the pkg/app/example_version_gin_endpoint_test.go file how I propose we do the version implementation from now on. As compared to how it's proposed in iver-wharf/wharf-provider-github#5

The suggested implementation in the example is that the pkg/ginutils is not needed. This core lib repo only references gin-gonic in the example tests, and leaves the rest for the user of this library. The core is like only 5 lines in total so I thought it was better, and letting them define the version endpoint themselves will leave less confusion to where the GET /version endpoint comes from, as well as more control in case you need it.


Related to #1, and based on iver-wharf/rfcs#4

@applejag applejag added the enhancement New feature or request label May 20, 2021
@applejag applejag self-assigned this May 20, 2021
@applejag applejag added this to In progress in Backlog via automation May 20, 2021
Backlog automation moved this from In progress to Reviewer approved May 26, 2021
@applejag applejag merged commit 685d7c6 into master May 26, 2021
Backlog automation moved this from Reviewer approved to Done May 26, 2021
@applejag applejag deleted the feature/app-version branch May 26, 2021 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants