tc

package
v1.1.17 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package tc contains test-only code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Must

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

Must panics if the error is not nil. Used to wrap functions returning error to force simplify error handling.

func Must1

func Must1(err error)

Must1 panics if the error is not nil. Used to wrap functions returning error to force simplify error handling.

func Must3

func Must3[T any, V any](t T, v V, err error) (T, V)

Must3 panics if the error is not nil. Used to wrap functions returning error to force simplify error handling.

Types

This section is empty.

Jump to

Keyboard shortcuts

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