in operating/operating.go [79:101]
func InitializeSystemFunctions() *SystemFunctions {
return &SystemFunctions{
Chmod: os.Chmod,
CurrentUser: user.Current,
Getenv: os.Getenv,
Getpid: os.Getpid,
Glob: filepath.Glob,
Hostname: os.Hostname,
IsNotExist: os.IsNotExist,
MkdirAll: os.MkdirAll,
Now: time.Now,
OpenFileRead: OpenFileRead,
OpenFileWrite: OpenFileWrite,
ReadFile: ioutil.ReadFile,
Remove: os.Remove,
RemoveAll: os.RemoveAll,
Stat: os.Stat,
Stdin: os.Stdin,
Stdout: os.Stdout,
TempFile: ioutil.TempFile,
Local: time.Local,
}
}