ssareducer

package
v1.3.6-beta1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SkippedError error = utils.Error("compiling skipped")

Functions

func ReducerCompile added in v1.3.3

func ReducerCompile(base string, opts ...Option) error

Types

type Config

type Config struct {
	ProgramName string
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(opt ...Option) *Config

type Option

type Option func(config *Config)

func WithCompileMethod

func WithCompileMethod(handler compileMethod) Option

func WithEmbedFS

func WithEmbedFS(fs embed.FS) Option

func WithEntryFiles added in v1.3.3

func WithEntryFiles(filename ...string) Option

func WithFileSystem added in v1.3.3

func WithFileSystem(fs fi.FileSystem) Option

func WithProgramName

func WithProgramName(name string) Option

Jump to

Keyboard shortcuts

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