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

fix: generate go client in a subdir #208

Merged
merged 2 commits into from
Aug 7, 2024

Conversation

julienduchesne
Copy link
Member

@julienduchesne julienduchesne commented Aug 7, 2024

This makes importing the client easier

Currently: github.com/grafana-com-public-clients/go imports the gcom package so it's confusing. It's a go convention that the package name should match the dir name

This PR adds the package name to the generate path

This makes importing the client easier
@julienduchesne julienduchesne requested a review from a team as a code owner August 7, 2024 15:24
@julienduchesne julienduchesne changed the title Generate go client in a subdir fix: generate go client in a subdir Aug 7, 2024
@julienduchesne julienduchesne force-pushed the julienduchesne/generate-go-in-submodule branch from ee7567c to 4379ab0 Compare August 7, 2024 15:28
Let's make clients more opinionated
@julienduchesne julienduchesne added this pull request to the merge queue Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants