Documentation ¶
Index ¶
- func AddCover(epub *epub.Epub, filePath string) (string, error)
- func AddImage(epub *epub.Epub, filePath string) (string, error)
- func AddImageToXhtml(internalPath string, xhtml string) string
- func AddSection(epub *epub.Epub, title string, article string) error
- func AddSectionXhtml(epub *epub.Epub, title string, xhtml string) error
- func CheckDir(dirPath string) error
- func CheckFileExist(filePath string) bool
- func ConvertToString(src string, srcCode string, tagCode string) string
- func ConvertToUtf8(str string) string
- func CreateSectionXhtml(title string, article string) string
- func GbkToUtf8(s []byte) ([]byte, error)
- func GetUrlLastString(s string) string
- func Utf8ToGbk(s string) ([]byte, error)
- type ProgressWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddImageToXhtml ¶
func AddSection ¶
func AddSectionXhtml ¶
func CheckFileExist ¶
func ConvertToUtf8 ¶
func CreateSectionXhtml ¶
func GetUrlLastString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.