v1.10.0 Latest Latest

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

Go to latest
Published: Aug 1, 2017 License: MIT Imports: 14 Imported by: 0




This section is empty.


This section is empty.


func AWSFuncs

func AWSFuncs(f map[string]interface{})

AWSFuncs -

func AddBase64Funcs

func AddBase64Funcs(f map[string]interface{})

AddBase64Funcs -

func AddEnvFuncs added in v1.10.0

func AddEnvFuncs(f map[string]interface{})

AddEnvFuncs -

func AddNetFuncs added in v1.9.0

func AddNetFuncs(f map[string]interface{})

AddNetFuncs -

func AddReFuncs added in v1.9.0

func AddReFuncs(f map[string]interface{})

AddReFuncs -

func AddStringFuncs added in v1.9.0

func AddStringFuncs(f map[string]interface{})

AddStringFuncs -


type Base64Funcs

type Base64Funcs struct{}

Base64Funcs -

func Base64NS

func Base64NS() *Base64Funcs

Base64NS - the base64 namespace

func (*Base64Funcs) Decode

func (f *Base64Funcs) Decode(in interface{}) string

Decode -

func (*Base64Funcs) Encode

func (f *Base64Funcs) Encode(in interface{}) string

Encode -

type EnvFuncs added in v1.10.0

type EnvFuncs struct{}

EnvFuncs -

func EnvNS added in v1.10.0

func EnvNS() *EnvFuncs

EnvNS - the Env namespace

func (*EnvFuncs) Getenv added in v1.10.0

func (f *EnvFuncs) Getenv(key string, def ...string) string

Getenv -

type Funcs

type Funcs struct {
	// contains filtered or unexported fields

Funcs -

func AWSNS

func AWSNS() *Funcs

AWSNS - the aws namespace

func (*Funcs) EC2Dynamic

func (a *Funcs) EC2Dynamic(key string, def ...string) string

EC2Dynamic -

func (*Funcs) EC2Meta

func (a *Funcs) EC2Meta(key string, def ...string) string

EC2Meta -

func (*Funcs) EC2Region

func (a *Funcs) EC2Region(def ...string) string

EC2Region -

func (*Funcs) EC2Tag

func (a *Funcs) EC2Tag(tag string, def ...string) string

EC2Tag -

type NetFuncs added in v1.9.0

type NetFuncs struct{}

NetFuncs -

func NetNS added in v1.9.0

func NetNS() *NetFuncs

NetNS - the net namespace

func (*NetFuncs) LookupCNAME added in v1.9.0

func (f *NetFuncs) LookupCNAME(name string) string

LookupCNAME -

func (*NetFuncs) LookupIP added in v1.9.0

func (f *NetFuncs) LookupIP(name string) string

LookupIP -

func (*NetFuncs) LookupIPs added in v1.9.0

func (f *NetFuncs) LookupIPs(name string) []string

LookupIPs -

func (*NetFuncs) LookupSRV added in v1.9.0

func (f *NetFuncs) LookupSRV(name string) *stdnet.SRV

LookupSRV -

func (*NetFuncs) LookupSRVs added in v1.9.0

func (f *NetFuncs) LookupSRVs(name string) []*stdnet.SRV

LookupSRVs -

func (*NetFuncs) LookupTXT added in v1.9.0

func (f *NetFuncs) LookupTXT(name string) []string

LookupTXT -

type ReFuncs added in v1.9.0

type ReFuncs struct{}

ReFuncs -

func ReNS added in v1.9.0

func ReNS() *ReFuncs

ReNS -

func (*ReFuncs) Match added in v1.9.0

func (f *ReFuncs) Match(re, input string) bool

Match -

func (*ReFuncs) Replace added in v1.9.0

func (f *ReFuncs) Replace(re, replacement, input string) string

Replace -

type StringFuncs added in v1.9.0

type StringFuncs struct{}

StringFuncs -

func StrNS added in v1.9.0

func StrNS() *StringFuncs

StrNS -

func (*StringFuncs) Contains added in v1.9.0

func (f *StringFuncs) Contains(substr, s string) bool

Contains -

func (*StringFuncs) HasPrefix added in v1.9.0

func (f *StringFuncs) HasPrefix(prefix, s string) bool

HasPrefix -

func (*StringFuncs) HasSuffix added in v1.9.0

func (f *StringFuncs) HasSuffix(suffix, s string) bool

HasSuffix -

func (*StringFuncs) Indent added in v1.9.0

func (f *StringFuncs) Indent(args ...interface{}) string

Indent -

func (*StringFuncs) ReplaceAll added in v1.9.0

func (f *StringFuncs) ReplaceAll(old, new, s string) string

ReplaceAll -

func (*StringFuncs) Split added in v1.9.0

func (f *StringFuncs) Split(sep, s string) []string

Split -

func (*StringFuncs) SplitN added in v1.9.0

func (f *StringFuncs) SplitN(sep string, n int, s string) []string

SplitN -

func (*StringFuncs) Title added in v1.9.0

func (f *StringFuncs) Title(s string) string

Title -

func (*StringFuncs) ToLower added in v1.9.0

func (f *StringFuncs) ToLower(s string) string

ToLower -

func (*StringFuncs) ToUpper added in v1.9.0

func (f *StringFuncs) ToUpper(s string) string

ToUpper -

func (*StringFuncs) Trim added in v1.9.0

func (f *StringFuncs) Trim(cutset, s string) string

Trim -

func (*StringFuncs) TrimSpace added in v1.9.0

func (f *StringFuncs) TrimSpace(s string) string

TrimSpace -

Jump to

Keyboard shortcuts

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