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 nguyenthenguyen/docx
-
Notifications
You must be signed in to change notification settings - Fork 13
Simple Google Go (golang) library for replace text in microsoft word (.docx) file
License
opencontrol/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%