zip

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Require

func Require() func(runtime *goja.Runtime, module *goja.Object)

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

func New

func New(verbose bool) *Module

func (*Module) WithWriter

func (m *Module) WithWriter(output string, callback func(writer *Writer) error) error

func (*Module) Writer

func (m *Module) Writer(output string) (*Writer, error)

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

func (*Writer) AddFile

func (w *Writer) AddFile(path, dest string) error

func (*Writer) Close

func (w *Writer) Close() error

Jump to

Keyboard shortcuts

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