Add a package.go in /std?
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?
I would not have an objection to this.
Quoting Steve Gray (2022-10-12 06:48:05)
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?
-- Reply to this email directly, [1]view it on GitHub, or [2]unsubscribe. You are receiving this because you are subscribed to this thread. Message ID: @.***>
Verweise
- https://github.com/capnproto/go-capnproto2/issues/319
- https://github.com/notifications/unsubscribe-auth/AAGXYPROYU2RPVDTUC3P3BTWC2JOLANCNFSM6AAAAAARDFBEQM
@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 👍