Skip to content

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

License

Notifications You must be signed in to change notification settings

opencontrol/doc-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%