test

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestBaseKeyValueMap

func TestBaseKeyValueMap(t *testing.T, newMap func(*testing.T) BaseKeyValueMap)

func TestBaseKeyValueStore

func TestBaseKeyValueStore(t *testing.T, newKV baseStoreConstructor)

func TestLister

func TestLister(t *testing.T, newLister listerConstructor)

Types

type Entry

type Entry struct {
	Float  float64
	Int    int
	Bool   bool
	String string
}

type Person

type Person struct {
	ID       string
	Name     string
	Age      int
	Referent *string
}

type TestListerInterface

type TestListerInterface[T any] interface {
	BaseKeyValueStore[T]
	Lister[T]
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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