configurators

package
v3.24.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(b *bool, name string)

func Float

func Float(i *float64, name string)

func HexSlice added in v3.8.0

func HexSlice(b *[][]byte, name string) error

func HexSliceFile added in v3.8.0

func HexSliceFile(b *[][]byte, filepath string) error

func ImageTypes

func ImageTypes(it *[]imagetype.Type, name string) error

func ImageTypesQuality

func ImageTypesQuality(m map[imagetype.Type]int, name string) error

func Int

func Int(i *int, name string)

func MegaInt

func MegaInt(f *int, name string)

func Patterns

func Patterns(s *[]*regexp.Regexp, name string)

func RegexpFromPattern

func RegexpFromPattern(pattern string) *regexp.Regexp

func Replacements added in v3.18.0

func Replacements(s *[]URLReplacement, name string) error

func String

func String(s *string, name string)

func StringMap added in v3.7.0

func StringMap(m *map[string]string, name string) error

func StringSlice

func StringSlice(s *[]string, name string)

func StringSliceFile

func StringSliceFile(s *[]string, filepath string) error

func URLPath added in v3.18.0

func URLPath(s *string, name string)

Types

type URLReplacement added in v3.18.0

type URLReplacement struct {
	Regexp      *regexp.Regexp
	Replacement string
}

Jump to

Keyboard shortcuts

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