generator

package
v0.0.0-...-04aba3d Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

func New

func New() *Config

func (*Config) Add

func (cfg *Config) Add(name string, value ...interface{}) error

func (*Config) Compile

func (cfg *Config) Compile() ([]byte, error)

func (*Config) Embed

func (cfg *Config) Embed(name string, value []byte) error

func (*Config) Enable

func (cfg *Config) Enable(name string) error

func (*Config) MustAdd

func (cfg *Config) MustAdd(name string, value ...interface{})

func (*Config) MustEmbed

func (cfg *Config) MustEmbed(name string, value []byte)

func (*Config) MustEnable

func (cfg *Config) MustEnable(name string)

func (*Config) MustSet

func (cfg *Config) MustSet(name string, value ...interface{})

func (*Config) Remove

func (cfg *Config) Remove(name string) error

func (*Config) Set

func (cfg *Config) Set(name string, value ...interface{}) error

Jump to

Keyboard shortcuts

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