lndj / doc-template

Simple Google Go (golang) library for replace text in microsoft word (.docx) file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Google Go (golang) library for building templates for generic content

Go Report Card

func main() {
	funcMap := template.FuncMap{"title": strings.Title}
	docTemp, _ := GetTemplate("docx/fixtures/test.docx")
	docTemp.AddFunctions(funcMap)
	docTemp.Parse()
	docTemp.Execute("test.docx", nil)
}

About

Simple Google Go (golang) library for replace text in microsoft word (.docx) file

License:Other


Languages

Language:Go 100.0%