Documentation ¶
Index ¶
- func Firefox(url string) (err error)
- func HTML2DOC(source string, target string, options ...Option) (result string, err error)
- func HTML2PDF(source string, target string, options ...Option) (result string, err error)
- func MakeJPG(source string, target string, options ...Option) (result string, err error)
- func Open(path string, options ...Option) (err error)
- func RangePDF(source string, target string, options ...Option) (err error)
- func ResizeJPG(source string, target string, kbsize int, options ...Option) (result string, err error)
- func Run(program string, args []string, options ...Option) (stdout *bytes.Buffer, stderr *bytes.Buffer, cmd *exec.Cmd, err error)
- func SQLite2CSV(sqlitedb string, table string, target string, options ...Option) (resultpath string, err error)
- func ShowHTML(source string, options ...Option) (err error)
- func SplitPDF(source string, target string, options ...Option) (err error)
- func VSCode(workspace string, fname string, options ...Option) (err error)
- func WithDoNotRun(c *Config)
- func WithDoNotWait(c *Config)
- func WithErrorCatch(c *Config)
- func WithHideError(c *Config)
- func WithHideOutput(c *Config)
- func WithLookInCwd(c *Config)
- func WithOutputCatch(c *Config)
- func WithOverwrite(c *Config)
- func WriteToPipe(program string, args []string, options ...Option) (io.WriteCloser, error)
- type Config
- type Option
- func WithContext(ctx context.Context) Option
- func WithCreateDir(perm any) Option
- func WithCwd(cwd string) Option
- func WithErrorFile(path string) Option
- func WithExtension(ext string) Option
- func WithFirstPage(page int) Option
- func WithInputFile(path string) Option
- func WithInputString(input string) Option
- func WithLastPage(page int) Option
- func WithOutputFile(path string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SQLite2CSV ¶ added in v1.1.0
func WithDoNotRun ¶
func WithDoNotRun(c *Config)
func WithDoNotWait ¶
func WithDoNotWait(c *Config)
func WithErrorCatch ¶
func WithErrorCatch(c *Config)
func WithHideError ¶
func WithHideError(c *Config)
func WithHideOutput ¶
func WithHideOutput(c *Config)
func WithLookInCwd ¶
func WithLookInCwd(c *Config)
func WithOutputCatch ¶
func WithOutputCatch(c *Config)
func WithOverwrite ¶
func WithOverwrite(c *Config)
func WriteToPipe ¶
Types ¶
type Option ¶
type Option func(*Config)
func WithContext ¶
func WithCreateDir ¶
func WithErrorFile ¶
func WithExtension ¶
func WithFirstPage ¶
func WithInputFile ¶
func WithInputString ¶
func WithLastPage ¶
func WithOutputFile ¶
Click to show internal directories.
Click to hide internal directories.