Help us shape the future of Go! Take the 2026 Go Developer Survey

jsonapitest

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertJSONAPIEq

func AssertJSONAPIEq(t *testing.T, want string, got string) bool

func NewRequest

func NewRequest(method string, target string, doc jsonapi.Document) *http.Request

NewRequest creates a new http.Request using a jsonapi.Document as payload, suitable for passing to an http.Handler for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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