Documentation ¶
Index ¶
- func Default(ctx context.Context, t *mold.Transformer, v reflect.Value, param string) error
- func New() *mold.Transformer
- func SnakeCase(ctx context.Context, t *mold.Transformer, v reflect.Value, param string) error
- func ToLower(ctx context.Context, t *mold.Transformer, v reflect.Value, param string) error
- func ToUpper(ctx context.Context, t *mold.Transformer, v reflect.Value, param string) error
- func TrimLeft(ctx context.Context, t *mold.Transformer, v reflect.Value, param string) error
- func TrimPrefix(ctx context.Context, t *mold.Transformer, v reflect.Value, param string) error
- func TrimRight(ctx context.Context, t *mold.Transformer, v reflect.Value, param string) error
- func TrimSpace(ctx context.Context, t *mold.Transformer, v reflect.Value, param string) error
- func TrimSuffix(ctx context.Context, t *mold.Transformer, v reflect.Value, param string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Default ¶ added in v3.1.0
Default allows setting of a default value IF no value is already present.
func TrimPrefix ¶
TrimPrefix trims the string of a prefix
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.