Re: [go-nuts] Re: Adding extra files to an already compiled binary using embed.FS

2023-05-11 Thread Pablo Caballero
Thank you! I'll definitely take a look at that. Best! On Thu, May 11, 2023, 6:08 PM TheDiveO wrote: > What about merging two io.FS instance? A quick search positively surprises > me, as there's https://pkg.go.dev/github.com/yalue/merged_fs for this > already existing. So you could benefit from

[go-nuts] interpreting runtime.Stack()

2023-05-11 Thread Andrew Athan
goroutine 1299607 [runnable]: context.(*valueCtx).Err(0xc00a52c3c0?) :1 +0x3e context.(*valueCtx).Err(0x48860a?) :1 +0x2a ... repeats many many many times ... ...additional frames elided... created by one_of_my_functions() somefile.go:2092 +0x4a5 What is going on here? is this likely to be an

[go-nuts] Re: Adding extra files to an already compiled binary using embed.FS

2023-05-11 Thread TheDiveO
What about merging two io.FS instance? A quick search positively surprises me, as there's https://pkg.go.dev/github.com/yalue/merged_fs for this already existing. So you could benefit from the build cache and yet add something later by merging/fusing multiple io.FS instances at runtime, from di

[go-nuts] Adding extra files to an already compiled binary using embed.FS

2023-05-11 Thread Pablo Caballero
Hi folks! I tried to do my homework and I think that the response is "No." I'm just looking for confirmation (maybe I missed something). We are using embed.FS to create "bundles" with a LOT of extra files embedded into the executable. So far so good until we hit a use case where we should be addin