assertion

package
v0.0.0-...-0a339b4 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(condition bool, key Key, msg string, args ...interface{}) error

Types

type Key

type Key string
const (
	KeyUnknown               Key = ""
	DeprecatedActionKey      Key = "DeprecatedAction"
	CommunityLicenseCheckKey Key = "CommunityLicenseCheck"
	InvalidGroupKey          Key = "InvalidGroup"
)

func (Key) Assert

func (k Key) Assert(condition bool, msg string, args ...interface{}) error

Jump to

Keyboard shortcuts

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