On Tue, May 1, 2018 at 1:28 PM, John Unland <unlandj2...@gmail.com> wrote: > > So something like x/tools/cmd/assets or cmd/assets?
Yes. I might use a name more like cmd/embed. > I was just now thinking about it more today and I was wondering if something > like this could maybe be implemented into go build. Like how you can assign > variables at build time: > > go build -ldflags="-X main.Foo=Bar" > > Into something like... > > go build -ldflags="-X main.Asset1=./SomeFileA main.Asset2=./SomeFileB" > > Think this would take a little more effort to integrate in but it's a > interesting concept thou. Personally I think the code generation approach is simpler. Ian -- 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. For more options, visit https://groups.google.com/d/optout.