move epubtemplate outside epub

This commit is contained in:
Celogeek 2024-01-04 19:30:19 +01:00
parent 7a761178e8
commit 8beb5c114b
Signed by: celogeek
SSH Key Fingerprint: SHA256:DEDfxIK2nUWXbslbRkww3zsauDjhWHlTXar+ak4lDJ4
10 changed files with 24 additions and 24 deletions

View File

@ -15,11 +15,11 @@ import (
"text/template"
"time"
epubtemplates "github.com/celogeek/go-comic-converter/v2/pkg/epub/templates"
"github.com/celogeek/go-comic-converter/v2/pkg/epubimage"
"github.com/celogeek/go-comic-converter/v2/pkg/epubimageprocessor"
"github.com/celogeek/go-comic-converter/v2/pkg/epuboptions"
"github.com/celogeek/go-comic-converter/v2/pkg/epubprogress"
"github.com/celogeek/go-comic-converter/v2/pkg/epubtemplates"
"github.com/celogeek/go-comic-converter/v2/pkg/epubtree"
"github.com/celogeek/go-comic-converter/v2/pkg/epubzip"
"github.com/gofrs/uuid"

View File

@ -1,23 +0,0 @@
/*
Templates use to create xml files of the EPUB.
*/
package epubtemplates
import _ "embed"
var (
//go:embed "epub_templates_container.xml.tmpl"
Container string
//go:embed "epub_templates_applebooks.xml.tmpl"
AppleBooks string
//go:embed "epub_templates_style.css.tmpl"
Style string
//go:embed "epub_templates_text.xhtml.tmpl"
Text string
//go:embed "epub_templates_blank.xhtml.tmpl"
Blank string
)

View File

@ -0,0 +1,23 @@
/*
Templates use to create xml files of the EPUB.
*/
package epubtemplates
import _ "embed"
var (
//go:embed "epubtemplates_container.xml.tmpl"
Container string
//go:embed "epubtemplates_applebooks.xml.tmpl"
AppleBooks string
//go:embed "epubtemplates_style.css.tmpl"
Style string
//go:embed "epubtemplates_text.xhtml.tmpl"
Text string
//go:embed "epubtemplates_blank.xhtml.tmpl"
Blank string
)