builtin

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2023 License: BSD-3-Clause Imports: 19 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append added in v0.3.2

func Append(item interface{}, items []interface{}) []interface{}

func Base64Decode added in v0.5.0

func Base64Decode(file interface{}) (interface{}, error)

func Base64Encode added in v0.5.0

func Base64Encode(file interface{}) (interface{}, error)

func Capitalize

func Capitalize(in interface{}) (interface{}, error)

func Default

func Default(value, in interface{}) interface{}

func Dir added in v0.3.0

func Dir(in interface{}) ([]interface{}, error)

func Dirs added in v0.3.2

func Dirs(in interface{}) ([]interface{}, error)

func Drop added in v0.3.2

func Drop(item interface{}, items []interface{}) ([]interface{}, error)

func Exists added in v0.3.0

func Exists(in interface{}) (bool, error)

func File

func File(filename interface{}) (interface{}, error)

func Files added in v0.3.2

func Files(in interface{}) ([]interface{}, error)

func HttpGet added in v0.4.0

func HttpGet(in interface{}) (interface{}, error)

func Include

func Include(filename string, args ...interface{}) (interface{}, error)

func Indent added in v0.3.0

func Indent(indent string, in interface{}) (interface{}, error)

func JmesPath added in v0.5.0

func JmesPath(path string, in interface{}) (interface{}, error)

func Join

func Join(delim string, in []interface{}) interface{}

func JoinKv added in v0.4.0

func JoinKv(sep string, in interface{}) ([]interface{}, error)

func Json

func Json(file interface{}) (interface{}, error)

func Lower

func Lower(in interface{}) (interface{}, error)

func Match added in v0.3.0

func Match(pattern string, in interface{}) (bool, error)

func Pointer

func Pointer(path string, in interface{}) (interface{}, error)

func Render added in v0.3.0

func Render(args ...interface{}) (interface{}, error)

func Replace

func Replace(old, new string, in interface{}) (interface{}, error)

func Seq

func Seq(i interface{}) ([]interface{}, error)

func Shell added in v0.4.0

func Shell(in interface{}) (interface{}, error)

func Split added in v0.3.0

func Split(delim string, in interface{}) ([]interface{}, error)

func SplitKv added in v0.4.0

func SplitKv(sep string, in []interface{}) (interface{}, error)

func Stdin added in v0.3.0

func Stdin() (interface{}, error)

func Substring added in v0.5.0

func Substring(slice string, in interface{}) (interface{}, error)

func Text added in v0.4.0

func Text(file interface{}) (interface{}, error)

func ToJson added in v0.4.0

func ToJson(obj interface{}) (interface{}, error)

func ToYaml added in v0.4.0

func ToYaml(obj interface{}) (interface{}, error)

func Trim

func Trim(in interface{}) (interface{}, error)

func Uniq added in v0.3.2

func Uniq(in ...[]interface{}) []interface{}

func Upper

func Upper(in interface{}) (interface{}, error)

func Var added in v0.3.0

func Var(name string) interface{}

func Yaml

func Yaml(file interface{}) (interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL