func main() {
funcMap := template.FuncMap{"title": strings.Title}
docTemp, _ := GetTemplate("docx/fixtures/test.docx")
docTemp.AddFunctions(funcMap)
docTemp.Parse()
docTemp.Execute("test.docx", nil)
}
forked from opencontrol/doc-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Simple Google Go (golang) library for replace text in microsoft word (.docx) file
License
linhtunguyen/doc-template
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple Google Go (golang) library for replace text in microsoft word (.docx) file
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Go 100.0%