Documentation ¶
Index ¶
- func ASCII(s any, args ...any) (any, error)
- func Bool(value any) (bool, error)
- func Center(s any, args ...any) (any, error)
- func Delete(s any, args ...any) (any, error)
- func Fields(s any, args ...any) (any, error)
- func ID(s any, args ...any) (any, error)
- func Int64(value any) (int64, error)
- func JustifyLeft(s any, args ...any) (any, error)
- func JustifyRight(s any, args ...any) (any, error)
- func Key(s any, args ...any) (any, error)
- func Kill(s any, args ...any) (any, error)
- func Latin1(s any, args ...any) (any, error)
- func Lower(s any, args ...any) (any, error)
- func Lower1(s any, args ...any) (any, error)
- func Partition(s any, args ...any) (any, error)
- func PartitionLast(s any, args ...any) (any, error)
- func Prefix(s any, args ...any) (any, error)
- func Repeat(s any, args ...any) (any, error)
- func Replace(s any, args ...any) (any, error)
- func ReplaceRegexp(s any, args ...any) (any, error)
- func Reverse(s any, args ...any) (any, error)
- func Squeeze(s any, args ...any) (any, error)
- func String(value any) (string, error)
- func SubString(s any, args ...any) (any, error)
- func Suffix(s any, args ...any) (any, error)
- func SwapCase(s any, args ...any) (any, error)
- func Switch(s any, args ...any) (any, error)
- func Time(s any, args ...any) (any, error)
- func ToBool(s any, args ...any) (any, error)
- func ToCamelCase(s any, args ...any) (any, error)
- func ToInt(s any, args ...any) (any, error)
- func ToKebabCase(s any, args ...any) (any, error)
- func ToSnakeCase(s any, args ...any) (any, error)
- func ToString(s any, args ...any) (any, error)
- func Translate(s any, args ...any) (any, error)
- func Trim(s any, args ...any) (any, error)
- func TrimLeft(s any, args ...any) (any, error)
- func TrimPrefix(s any, args ...any) (any, error)
- func TrimRight(s any, args ...any) (any, error)
- func TrimSpace(s any, args ...any) (any, error)
- func TrimSpaceLeft(s any, args ...any) (any, error)
- func TrimSpaceRight(s any, args ...any) (any, error)
- func TrimSuffix(s any, args ...any) (any, error)
- func URL(s any, args ...any) (any, error)
- func Upper(s any, args ...any) (any, error)
- func Upper1(s any, args ...any) (any, error)
- func XML(s any, args ...any) (any, error)
- type Template
- func (t *Template) Compile(s string) (err error)
- func (t *Template) Eval(placeholders map[string]any) (string, error)
- func (t *Template) GetID() string
- func (t Template) MarshalJSON() ([]byte, error)
- func (t *Template) SetID(id string)
- func (t *Template) SetStart(start int)
- func (t Template) String() string
- type TemplateNature
- type Transformation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Template ¶
type Template struct {
// contains filtered or unexported fields
}
func (Template) MarshalJSON ¶
type TemplateNature ¶
type TemplateNature struct {
// contains filtered or unexported fields
}
func MakeTemplateNature ¶
func MakeTemplateNature(verb string, data []string) (*TemplateNature, error)
type Transformation ¶
type Transformation struct {
// contains filtered or unexported fields
}
func MakeTransformation ¶
func MakeTransformation(keys map[string]any, stmpl any) (*Transformation, error)
Click to show internal directories.
Click to hide internal directories.