Versions in this module Expand all Collapse all v2 v2.0.0 Feb 13, 2017 Changes in this version + func AllPtrFieldsNil(obj interface{}) bool + func CompileRegexps(regexpStrings []string) ([]*regexp.Regexp, error) + func ExecuteTemplate(w io.Writer, templateText string, data interface{}) error + func ExecuteTemplateToString(templateText string, data interface{}) (string, error) + func FileExists(filename string) (bool, error) + func Int32Ptr(i int32) *int32 + func Int32PtrDerefOr(ptr *int32, def int32) int32 + func IntPtr(i int) *int + func IntPtrDerefOr(ptr *int, def int) int + func ReadDirNoStat(dirname string) ([]string, error) + func Umask(mask int) (old int, err error) + func UsingSystemdInitSystem() bool + type Trace struct + func NewTrace(name string) *Trace + func (t *Trace) Log() + func (t *Trace) LogIfLong(threshold time.Duration) + func (t *Trace) Step(msg string) + func (t *Trace) TotalTime() time.Duration + type Trie struct + func CreateTrie(list []string) Trie + func (t *Trie) Add(v string) + func (t *Trie) GetPrefix(v string) (string, bool) + func (t *Trie) HasPrefix(v string) bool v2.0.0-alpha.1 Dec 20, 2016