Documentation ¶
Index ¶
- Constants
- Variables
- func MergeKeys(dst, src map[string]any) map[string]any
- func NotNilValues(values ...any) int
- func Unique[T comparable](in []T) []T
- type Command
- type DataFile
- type DirStrategy
- type Executor
- type FileInfo
- type FileProducer
- type FileStrategy
- type HTTPClientParams
- type LocalFile
- type Logger
- type LoggerWrapper
- type MissingKeyValue
- type Preprocessor
- type RandomFn
- type RegexpChain
- type RemoteFile
- type SLiceFn
- type TemplateOptionsKey
- type TemplateProc
- type TmplProc
Constants ¶
View Source
const ( TemplateOptionsMissingKey TemplateOptionsKey = "missingkey" MissingKeyDefault MissingKeyValue = "default" MissingKeyInvalid MissingKeyValue = "invalid" MissingKeyZero MissingKeyValue = "zero" MissingKeyError MissingKeyValue = "error" Space = " " Empty = "" Dash = "-" Dot = "." EqualsSign = "=" LessThan = "<" Tilda = "~" NewLine = "\n" )
Variables ¶
Functions ¶
func NotNilValues ¶ added in v0.0.6
func Unique ¶ added in v0.0.3
func Unique[T comparable](in []T) []T
Types ¶
type DirStrategy ¶ added in v0.1.1
type FileInfo ¶ added in v0.0.11
type FileInfo struct {
// contains filtered or unexported fields
}
func NewFileInfo ¶ added in v0.0.13
type FileProducer ¶
type FileStrategy ¶ added in v0.1.1
type HTTPClientParams ¶ added in v0.0.6
type LoggerWrapper ¶ added in v0.1.3
type MissingKeyValue ¶ added in v0.0.11
type MissingKeyValue string
func (MissingKeyValue) Valid ¶ added in v0.0.11
func (v MissingKeyValue) Valid() error
type Preprocessor ¶ added in v0.0.11
type Preprocessor interface {
Process() error
}
type RandomFn ¶ added in v0.0.10
type RandomFn struct{}
RandomFn has to generate random string value
func (RandomFn) ASCII ¶ added in v0.1.0
ASCII Generates a random string of a desired length, containing the set of printable characters from the 7-bit ASCII set. This includes space (’ ‘), but no other whitespace character
func (RandomFn) Alpha ¶ added in v0.0.10
Alpha Generates a random alphabetical (A-Z, a-z) string of a desired length.
type RegexpChain ¶ added in v0.0.6
type RegexpChain struct {
// contains filtered or unexported fields
}
func NewRegexpChain ¶ added in v0.0.6
func NewRegexpChain(regexps ...string) *RegexpChain
func (*RegexpChain) MatchString ¶ added in v0.0.6
func (c *RegexpChain) MatchString(s string) bool
type RemoteFile ¶
type RemoteFile struct { FileInfo HTTPClientParams }
type TemplateOptionsKey ¶ added in v0.0.11
type TemplateOptionsKey string
type TemplateProc ¶ added in v0.0.13
type TmplProc ¶ added in v0.0.13
type TmplProc struct {
// contains filtered or unexported fields
}
func NewTemplateProc ¶ added in v0.0.13
Click to show internal directories.
Click to hide internal directories.