{"modulePath":"github.com/codedellemc/libstorage","version":"v0.1.0","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package paths\n\n## Constants\n\n```go\nconst (\n\n\t// Home is the application home directory.\n\tHome fileKey = iota\n\n\t// Etc is the application etc directory.\n\tEtc\n\n\t// Lib is the application lib directory.\n\tLib\n\n\t// Log is the application log directory.\n\tLog\n\n\t// Run is the application run directory.\n\tRun\n\n\t// LSX is the path to the libStorage executor.\n\tLSX fileKey\n)\n```\n\n## Functions\n\n```go\nfunc Init()\n```\nInit is a way to manually initialize the package.\n\n```go\nfunc Join(elem ...string) string\n```\nJoin joins one or more paths.\n\n```go\nfunc LogFile(fileName string) (io.Writer, error)\n```\nLogFile returns a writer to a file inside the log directory with the provided file name.\n\n```go\nfunc StdOutAndLogFile(fileName string) (io.Writer, error)\n```\nStdOutAndLogFile returns a mutltiplexed writer for the current process's stdout descriptor and alog file with the provided name.\n\n","path":"github.com/codedellemc/libstorage/api/utils/paths","name":"paths","synopsis":"","isRedistributable":true}
