test

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode[T any](t *testing.T, test EncodingTest[T])

func Encode

func Encode[T any](t *testing.T, test EncodingTest[T])

func Encoding

func Encoding[T any](t *testing.T, test EncodingTest[T])

func Router added in v0.1.3

func Router(t *testing.T, r don.Router, handler fasthttp.RequestHandler, basePath string)

Types

type EncodingTest

type EncodingTest[T any] struct {
	Mime   string
	Parsed T
	Raw    string
}

Jump to

Keyboard shortcuts

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