Versions in this module Expand all Collapse all v0 v0.2.0 Sep 3, 2025 v0.1.0 Sep 2, 2025 Changes in this version + func ApplyMutations(body, query, header []byte) ([]byte, []byte, []byte, error) + func ClearMutations() + func Mutate(kind MutationKind, path string, value interface{}) + type JSONAnyFlag = cli.FlagBase[interface{}, JSONConfig, JSONValueCreator[interface{}]] + type JSONBoolFlag = cli.FlagBase[bool, JSONConfig, JSONValueCreator[bool]] + type JSONConfig struct + Kind MutationKind + Path string + SetValue interface{} + type JSONDateFlag = cli.FlagBase[time.Time, JSONConfig, JSONDateValueCreator] + type JSONDateValueCreator struct + func (c JSONDateValueCreator) Create(val time.Time, dest *time.Time, config JSONConfig) cli.Value + func (c JSONDateValueCreator) ToString(val time.Time) string + type JSONDatetimeFlag = cli.FlagBase[time.Time, JSONConfig, JSONValueCreator[time.Time]] + type JSONFloatFlag = cli.FlagBase[float64, JSONConfig, JSONValueCreator[float64]] + type JSONIntFlag = cli.FlagBase[int, JSONConfig, JSONValueCreator[int]] + type JSONStringFlag = cli.FlagBase[string, JSONConfig, JSONValueCreator[string]] + type JSONValueCreator struct + func (c JSONValueCreator[T]) Create(val T, dest *T, config JSONConfig) cli.Value + func (c JSONValueCreator[T]) ToString(val T) string + type Mutation struct + Kind MutationKind + Path string + Value interface{} + func ListMutations() []Mutation + type MutationKind string + const Body + const Header + const Query