toolkit

package
v0.0.0-...-effe065 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert[T any](t *testing.T, got G[T], want W[T])

func EnvFile

func EnvFile() string

func RootDir

func RootDir() string

Types

type G

type G[T any] struct {
	// contains filtered or unexported fields
}

func Got

func Got[T any](err error, got ...T) G[T]

type W

type W[T any] struct {
	// contains filtered or unexported fields
}

func Err

func Err(err error) W[any]

func Want

func Want[T any](want T, err error) W[T]

Jump to

Keyboard shortcuts

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