that all tests have it available, no matter what order the tests run in
(aside: the order in which tests run seems non-deterministics, so I figured
it had to go in an init, is there any alternative?)
For production however, I don't want to load the test data, since it is
time consuming. Is there a flag I can use inside the init() routine to
tell if I'm under a test-build or not, and then skip loading the test data
if it isn't needed?
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@example.com.
For more options, visit https://groups.google.com/groups/opt_out.