util

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EbookConvert

func EbookConvert(filename, inputFormat, outputFormat string, inputFile []byte) (io.Reader, error)

EbookConvert calls the ebook-convert binary from the Calibre project. It receives a inpunt format which is the format of the file passed to be converted, and a target format which is the the format that the file is going to be converted to. The function also receives the input file as an slice of bytes, which is the file that is going to be converted.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL