1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-10 18:40:28 +08:00

feat: chage template name (due2 #17)

This commit is contained in:
源文雨
2024-03-15 13:07:58 +09:00
parent b3e1a27db9
commit 047c5e5f03
16 changed files with 52 additions and 25 deletions

6
fs.go
View File

@@ -25,11 +25,11 @@ import "embed"
var (
// TemplateXMLFS stores template docx files
//go:embed xml
//go:embed xml/a4/_rels/*
//go:embed xml/default/_rels/*
TemplateXMLFS embed.FS
// A4TemplateFilesList is the files list under TemplateXMLFS/xml/a4
A4TemplateFilesList = []string{
// DefaultTemplateFilesList is the files list under TemplateXMLFS/xml/default
DefaultTemplateFilesList = []string{
"_rels/.rels",
"docProps/app.xml",
"docProps/core.xml",