Re: [go-nuts] Re: go:embed question

2022-10-15 Thread esimov
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,

Re: [go-nuts] Re: go:embed question

2022-10-15 Thread Tamás Gulácsi
It won't work iff that file is not there - e.g. it is not commited into the repo. kortschak a következőt írta (2022. október 14., péntek, 10:50:18 UTC+2): > 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 comm