Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Filesystem = &afero.Afero{Fs: afero.NewOsFs()}
Filesystem is the project wide abstraction for dealing with the filesystem. We'll use the to easily swap our the real filesystem for an in-memory one during tests, so the user doesn't actually have to have permissions to write to the real paths on the host.
Functions ¶
func FatalIfError ¶
func FatalIfError(err error)
FatalIfError will log a message at the fatal error and exit if the error is not nil
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.