Versions in this module Expand all Collapse all v0 v0.0.2 Jul 29, 2026 v0.0.1 Jul 24, 2026 Changes in this version + func Dirtify[T any](cleanJSON []byte, dcfg *DirtifyCfg, opts ...Opt) ([]byte, error) + func RandomConfig(coinArg ...*flipping.Coin) *config.Config + func StructToMap(s any) map[string]any + func TransformToHybridCase(s string, coinArg ...*flipping.Coin) string + type Dirtifier struct + func NewDirtifier(threshold float64, cfg *config.Config, coinArg ...*flipping.Coin) *Dirtifier + func (d *Dirtifier) Make(val any) any + type DirtifyCfg struct + func (dcfg *DirtifyCfg) Config() *config.Config + type Opt func(*DirtifyCfg) + func WithAllowedRed(b bool) Opt + func WithCoin(coin *flipping.Coin) Opt + func WithConfig(cfg *config.Config) Opt + func WithRatio(r float64) Opt