Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In this commit we move the template out of the method for readability. Also, because tmpl.Execute returns an error we don't actually need to do error checking in the method. We can just pass the result (error or nil) back to the caller.
- Loading branch information