testutil

package
v0.0.0-...-f270655 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertJSON

func AssertJSON(t *testing.T, want, got []byte)

func AssertResponse

func AssertResponse(t *testing.T, got *http.Response, status int, body []byte)

func LoadFile

func LoadFile(t *testing.T, path string) []byte

func OpenDBForTest

func OpenDBForTest(t *testing.T) *sqlx.DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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