You can, if you wish, get the best of both worlds by using go generate and a tool like https://github.com/shurcooL/vfsgen to automatically generate go source from those files.
On Sunday, August 5, 2018 at 7:33:41 AM UTC-7, [email protected] wrote: > > After changing from embedding my .html/css code in the body of my .go > program, to making a separate, stand-alone .html/css file and including a > template.Must(template.ParseFiles("filename.html"))' line in the .go source > file, I can see that the go creators are a lot smarter than I am. > > MUCH easier to work with the separate files than having them combined. > > Thanks to all who waded in on this pretty silly pondering of mine. > > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
