go run github.com/esimov/caire/cmd/caire@latest. I'm wondering is this somehow related to the fact, that the file which should be embedded is located two levels up to the root tree? The embedable file is located in the data folder, but the file effectively is not embedded in cmd/caire/main.go, but in a file called process.go which is at the same level as the data folder.
├───cmd │ └───caire/main.go ├───data On Friday, October 14, 2022 at 11:50:18 AM UTC+3 kortschak wrote: > On Fri, 2022-10-14 at 00:17 -0700, esimov wrote: > > . Now, that's not the case when you are running a package using the > > following command: "go run github.com/user/package@latest" for > > example > > Can you give an example of a real package where this doesn't work? > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/6923b939-ec92-4d87-9b38-e449bf5e6ecdn%40googlegroups.com.