What makes you think that go run github.com/esimov/caire/cmd/caire@latest 
is not embedding properly?
On my system it seems like it works fine, and the file gets embedded. I'm 
using go 1.19 on windows.

Perhaps you could give a more detailed example of what you are doing 
(actual commands) and what you see, and what you actually expect to see. If 
you do that in a way that allows other to replicate you problem, you might 
get a useful response.

On Saturday, October 15, 2022 at 11:49:11 PM UTC-4 esi...@gmail.com wrote:

> 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/9108880d-bbd1-4bf0-92e9-a626b70f437dn%40googlegroups.com.

Reply via email to