I'm using template to export " in go but it returns only ". Is there a way to get it to export " instead.
import (
"html/template"
)
//Testf a test function
func Testf() string {
return "\""
}
//MapToFunctions Map actions to functions
var MapToFunctions = template.FuncMap{
"testf": Testf}
Then, to use in a file, I'd put {{ testf }}