소스 검색

fixed doc typo

Aliaksandr Valialkin 10 년 전
부모
커밋
17f947ad5c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)