Or it could be embedded using package embed (https://pkg.go.dev/embed). Just another candidate solution.
-- Diego On Wed, 12 Jul 2023 at 14:30, 'Sean Liao' via golang-nuts < golang-nuts@googlegroups.com> wrote: > considering it is primarily static information, maybe it should be passed > in and as data during run time, instead of being embedded and compiled as > code? > > - sean > -- 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/CAGjxhKkk9JoZqiMkZT0YvyOkj4M_5RzTJisYkbMxE_puOYbPuQ%40mail.gmail.com.