{"modulePath":"github.com/StackVista/stackstate-process-agent","version":"v0.99.35","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package util\n\n## Functions\n\n```go\nfunc GetEnv(key string, dfault string, combineWith ...string) string\n```\nGetEnv retrieves the environment variable key. If it does not exist it returns the default.\n\n```go\nfunc HostProc(combineWith ...string) string\n```\n\n```go\nfunc HostSys(combineWith ...string) string\n```\n\n```go\nfunc PathExists(filename string) bool\n```\n\n```go\nfunc ReadLines(filename string) ([]string, error)\n```\nReadLines reads contents from a file and splits them by new lines.\n\n","path":"github.com/StackVista/stackstate-process-agent/util","name":"util","synopsis":"","isRedistributable":true}
