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

move go.mod to project root #114

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

mmorel-35
Copy link
Contributor

@mmorel-35 mmorel-35 commented Feb 1, 2025

This moves go.mod to the root directory of the project and the go code follows this change to.

Closes #104

@mmorel-35 mmorel-35 force-pushed the issue-104 branch 5 times, most recently from 4410e8f to 6553c1d Compare February 1, 2025 13:10
Signed-off-by: Matthieu MOREL <[email protected]>
@mmorel-35 mmorel-35 changed the title fix: remove go/BUILD move go.mod to project root Feb 1, 2025
@mmorel-35 mmorel-35 marked this pull request as ready for review February 1, 2025 13:42
Copy link

@adisuissa adisuissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for trying to fix this.
I'm not sure if it works for the people using go, but just wanted to highlight one thing about the locations of some files.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will it be possible to keep all those changes in the "go/" directory?
The reason is, I think it would be best to keep these files separated from the proto sources.
I'm not sure what causes these, but would like all the "go" related stuff that don't use bazel to be in their own directory.

Copy link
Contributor Author

@mmorel-35 mmorel-35 Feb 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this pattern should be discouraged.
IMHO having the go files so it is easier to use them is great, but it should be limited to a specific sub-dir that is different than where the "source files" (protos) are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants