I want to upper case a string in a golang template using string.ToUpper
like :
{{ .Name | strings.ToUpper }}
But this doesn't works because strings
is not a property of my data.
I can't import strings
package because the warns me that it's not used.
Here the script : http://play.golang.org/p/7D69Q57WcN