html/template package. Since the
html/template package provides support for calling functions assigned to data passed to the
template.Template.Execute() function, templates can fire off the localization process themselves. Once you have a template setup to utilize the localize package, it's a fire and forget situation. The best kind, in my opinion.
Here's a simple example of the syntax:
test/template.go provides a very handy example of using
localize with an actual HTTP server.
That's it! :)