Official guide says it's okay to use a global variable to cache templates:
*First we create a global variable named templates, and initialize it with
Can global variables also be used to store DB handles and repository
objects? Or do they have to be initialized for every request?
Thanks a lot
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 firstname.lastname@example.org.
For more options, visit https://groups.google.com/d/optout.