Merge pull request #740 from ericchiang/fix-comment-typos

*: fix comment typos and add go report card icon
This commit is contained in:
Eric Chiang
2016-12-13 13:17:50 -08:00
committed by GitHub
6 changed files with 6 additions and 5 deletions

View File

@@ -70,7 +70,7 @@ func renderTemplate(w http.ResponseWriter, tmpl *template.Template, data interfa
switch err := err.(type) {
case *template.Error:
// An ExecError guarentees that Execute has not written to the underlying reader.
// An ExecError guarantees that Execute has not written to the underlying reader.
log.Printf("Error rendering template %s: %s", tmpl.Name(), err)
// TODO(ericchiang): replace with better internal server error.