Documentation ¶
Index ¶
- Variables
- func ReducerCompile(base string, opts ...Option) error
- type Config
- type Option
- func WithCompileMethod(handler compileMethod) Option
- func WithContext(ctx context.Context) Option
- func WithEmbedFS(fs embed.FS) Option
- func WithEntryFiles(filename ...string) Option
- func WithFileSystem(fs fi.FileSystem) Option
- func WithProgramName(name string) Option
- func WithStrictMode(b bool) Option
Constants ¶
This section is empty.
Variables ¶
View Source
var SkippedError error = utils.Error("compiling skipped")
Functions ¶
func ReducerCompile ¶ added in v1.3.3
Types ¶
type Config ¶
type Config struct { ProgramName string // contains filtered or unexported fields }
func (*Config) GetCancelFunc ¶
func (c *Config) GetCancelFunc() context.CancelFunc
type Option ¶
type Option func(config *Config)
func WithCompileMethod ¶
func WithCompileMethod(handler compileMethod) Option
func WithContext ¶
func WithEmbedFS ¶
func WithEntryFiles ¶ added in v1.3.3
func WithFileSystem ¶ added in v1.3.3
func WithFileSystem(fs fi.FileSystem) Option
func WithProgramName ¶
func WithStrictMode ¶
Click to show internal directories.
Click to hide internal directories.