Documentation ¶
Index ¶
- func ByteToString(b []byte) string
- func Exec(cli string) (map[string]interface{}, error)
- func ExecTemplate(t *templatex.Template) func(name string, v any) (string, error)
- func FNV32a(v any) (int, error)
- func FuncMap(trust bool) func(t *templatex.Template) map[string]interface{}
- func GetData(key string, data map[string]interface{}) interface{}
- func GetHold() map[string]interface{}
- func HMAC(h interface{}, k interface{}, m interface{}) (string, error)
- func Hold(key string, value interface{}) map[string]interface{}
- func IndentByte(i int, data []byte) []byte
- func Log(level string, v any) any
- func MD5(v any) (string, error)
- func Md(data []byte) []byte
- func Minify(mType string, data []byte) ([]byte, error)
- func Nothing(v any) string
- func ReadFile(fileName string) ([]byte, error)
- func Rfc3339(t time.Time) string
- func SHA1(v any) (string, error)
- func SHA256(v any) (string, error)
- func SaveFile(fileName string, data []byte) (bool, error)
- func StringToByte(s string) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteToString ¶ added in v0.3.1
func ExecTemplate ¶ added in v0.3.1
func IndentByte ¶ added in v0.3.1
func StringToByte ¶ added in v0.3.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.