genhelpers

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JmesMatch

func JmesMatch(t *testing.T, data any, expr string) any

func Jsonify added in v0.1.1

func Jsonify(v any) string

func MustRet

func MustRet[T any](v T, err error) T

func RequireJmesMatch

func RequireJmesMatch(t *testing.T, data any, expr string, expected any, locationNote string)

func RequireJmesMatchRaw added in v0.1.1

func RequireJmesMatchRaw(t *testing.T, data any, expr string, expected any, locationNote string)

Types

type AnyValStruct

type AnyValStruct struct {
	Thing string `json:"thinger"`
}

Jump to

Keyboard shortcuts

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