Versions in this module Expand all Collapse all v0 v0.1.1 Jul 27, 2025 Changes in this version + var ErrCannotReadResultFile = errors.New("cannot read result file") + var ErrCannotWriteInitialFile = errors.New("cannot write initial file") + var ErrRunningGhostscriptModule = errors.New("error running ghostscript module") + type ErrMissingFile struct + ResultFileName string + StdErr string + StdOut string + func (e *ErrMissingFile) Error() string + type ErrRunningGhostscript struct + Err error + StdErr string + StdOut string + func (e *ErrRunningGhostscript) Error() string + func (e *ErrRunningGhostscript) Unwrap() error + type File struct + Content []byte + Path string + type GS struct + func NewGS(ctx context.Context) (*GS, error) + func (gs *GS) BasicRun(ctx context.Context, in []byte, opts []string) ([]byte, string, error) + func (gs *GS) Run(ctx context.Context, stdOut, stdErr io.Writer, args []string, files []File) (map[string]File, error)