util

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvalidMap  = errors.New("map file has been broken")
	InvalidType = errors.New("type of two didn't match")
	TooManyArgs = errors.New("argument should be less than 2")
)

Functions

func CheckErr

func CheckErr(e error)

Types

type PathFormatter

type PathFormatter interface {
	GetPath(of ...string) string
}

func GetPathFormatter

func GetPathFormatter() PathFormatter

Jump to

Keyboard shortcuts

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