Documentation ¶
Index ¶
- func Base64Decode(v interface{}) (string, error)
- func Base64Encode(v interface{}) (string, error)
- func DoArithmetic(a, b interface{}, op rune) (interface{}, error)
- func Filter(regex string, c interface{}) ([]interface{}, error)
- func MakeCustomFuncMap() template.FuncMap
- func ToJson(v interface{}) (string, error)
- func ToYaml(v interface{}) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
func Base64Encode ¶
func DoArithmetic ¶
DoArithmetic performs arithmetic operations (+,-,*,/) using reflection to determine the type of the two terms. This func will auto convert string and uint to int64/float64, then apply operations, return float64, or int64
func MakeCustomFuncMap ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.