internal

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ExampleDirPathPrefix is the path prefix for ExampleDirAssetFS.
	ExampleDirPathPrefix = "assets/example-dir"
)

Variables

View Source
var (
	//go:embed assets/enum.go.gotpl
	EnumGoTemplateAsset string

	//go:embed assets/enum_test.go.gotpl
	EnumTestGoTemplateAsset string

	//go:embed assets/numeric.go.gotmpl
	NumericGoTemplateAsset string

	//go:embed assets/numeric_test.go.gotmpl
	NumericTestGoTemplateAsset string

	//go:embed assets/example-dir
	ExampleDirAssetFS embed.FS
)

Embedded assets.

Functions

func MaybePanic

func MaybePanic(err error)

MaybePanic panics if the given error is not nil.

Types

This section is empty.

Directories

Path Synopsis
enumz
testing command

Jump to

Keyboard shortcuts

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