Update examples from unexported *template return type
erjoalgo opened this issue · 0 comments
erjoalgo commented
In this section:
"
There are four main methods in this package:
func Render(data string, context ...interface{}) string
func RenderFile(filename string, context ...interface{}) string
func ParseString(data string) (*template, os.Error)
func ParseFile(filename string) (*template, os.Error)
"
Some of the return types are *template, not *Template as they should be