Versions in this module Expand all Collapse all v0 v0.1.1 Nov 28, 2021 v0.1.0 Nov 28, 2021 Changes in this version + func Contains(a interface{}, e interface{}) bool + func ExecQuiet(env []string, name string, args ...string) ([]byte, []byte, error) + func ExecVerbose(env []string, name string, args ...string) (err error) + func HashUint64(format string, a ...interface{}) uint64 + func IPaddr() (net.IP, error) + func MarshalIndentXML(a interface{}, prefix string, indent string) (x []byte, err error) + func MarshalXML(a interface{}) (x []byte, err error) + func PrintErrorln(format string, a ...interface{}) + func PrintInfoln(format string, a ...interface{}) + func PrintMsgln(format string, a ...interface{}) + func PrintPlainln(format string, a ...interface{}) + func PrintWarnln(format string, a ...interface{}) + func ProgressStr(msg string, interval time.Duration) (chan<- struct{}, <-chan struct{}) + func RandomNap(dur time.Duration) + func RandomString(n int) string + func SplitDuration(d time.Duration) map[time.Duration]time.Duration + func SplitMulti(s string, sep string) []string + func UserOK(s string) bool + type SysInfo struct + Domainname string + Machine string + Nodename string + Release string + Sysname string + Version string + func Uname() (SysInfo, error)