Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + const ID + func InitAll(defaulters ...Defaulter) + func ValidateAll(validators ...Validator) error + func WriteSample(dst io.Writer, path Path, ctx CtxMap, samplers ...Sampler) + func WriteString(dst io.Writer, s string) + type Config interface + type CtxMap map[string]string + type Defaulter interface + InitDefaults func() + type NoDefaulter struct + func (NoDefaulter) InitDefaults() + type NoValidator struct + func (NoValidator) Validate() error + type Path []string + func (p Path) Extend(s string) Path + type Sampler interface + ConfigName func() string + Sample func(dst io.Writer, path Path, ctx CtxMap) + type StringSampler struct + Name string + Text string + func (s StringSampler) ConfigName() string + func (s StringSampler) Sample(dst io.Writer, _ Path, _ CtxMap) + type Validator interface + Validate func() error