utils

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrCheck

func ErrCheck[T any](v T, err error) func(t *testing.T) T

func Iter2

func Iter2[K, V any](values ...IterKV[K, V]) iter.Seq2[K, V]

func Iter2Check

func Iter2Check[K, V any](t *testing.T, its iter.Seq2[K, V], values []IterKV[K, V])

Types

type IterKV

type IterKV[K, V any] struct {
	K K
	V V
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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