core

package
v0.0.0-...-5fddbe4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

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