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

Add a package.go in /std? #319

Open
steve-gray opened this issue Oct 12, 2022 · 2 comments
Open

Add a package.go in /std? #319

steve-gray opened this issue Oct 12, 2022 · 2 comments
Labels

Comments

@steve-gray
Copy link

We're trying to use capnproto with our CI solution, which avoids go get's at runtime. Because of the lack of a .go file in the STD folder, the go.capnp file can't be picked up by vendoring. Would it be possible to add one, so that we can vendor ./std and use a deterministic path to pick up this file in go:generates?

@zenhack
Copy link
Contributor

zenhack commented Oct 12, 2022 via email

@lthibault
Copy link
Collaborator

lthibault commented Oct 14, 2022

@steve-gray Just to make sure I understand, would something like a [doc.go] file do the trick? In other words, you just need a .go file in the directory, but it doesn't need to contain any actual Go code, correct?

If so, that sounds good to me. Please feel free to open a PR 👍

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

No branches or pull requests

3 participants