paths

package
v0.1.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2016 License: Apache-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (

	// Home is the application home directory.
	Home fileKey = iota

	// Etc is the application etc directory.
	Etc

	// Lib is the application lib directory.
	Lib

	// Log is the application log directory.
	Log

	// Run is the application run directory.
	Run

	// LSX is the path to the libStorage executor.
	LSX fileKey
)

Variables

This section is empty.

Functions

func Init

func Init()

Init is a way to manually initialize the package.

func Join

func Join(elem ...string) string

Join joins one or more paths.

func LogFile

func LogFile(fileName string) (io.Writer, error)

LogFile returns a writer to a file inside the log directory with the provided file name.

func StdOutAndLogFile

func StdOutAndLogFile(fileName string) (io.Writer, error)

StdOutAndLogFile returns a mutltiplexed writer for the current process's stdout descriptor and alog file with the provided name.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL