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 FileProducer
- type HTTPClientParams
- type LocalFile
- type Logger
- type RandomFn
- type RegexpChain
- type RemoteFile
- type Template
Constants ¶
View Source
const ( Space = " " Empty = "" Dash = "-" Dot = "." EqualsSign = "=" LessThan = "<" NewLine = '\n' )
Variables ¶
View Source
var ( TemplateFnsMap = map[string]any{ "random": func() any { return RandomFn{} }, } )
Functions ¶
func NotNilValues ¶ added in v0.0.6
func Unique ¶ added in v0.0.3
func Unique[T comparable](in []T) []T
Types ¶
type FileProducer ¶
type HTTPClientParams ¶ added in v0.0.6
type RandomFn ¶ added in v0.0.10
type RandomFn struct{}
RandomFn has to generate random string value
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 { Template HTTPClientParams }
Click to show internal directories.
Click to hide internal directories.