Explorar el Código

fixed doc typo

Aliaksandr Valialkin hace 10 años
padre
commit
17f947ad5c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      template.go

+ 1 - 1
template.go

@@ -55,7 +55,7 @@ func NewTemplate(template, startTag, endTag string) (*Template, error) {
 	return &t, nil
 }
 
-// TagFunc can be used as substitution value in the map passed to Execute*.
+// TagFunc can be used as a substitution value in the map passed to Execute*.
 //
 // It must write contents to w and return the number of bytes written.
 type TagFunc func(w io.Writer) (int, error)