test

package
v0.0.0-...-7113a67 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUnexportedField

func GetUnexportedField(field reflect.Value) interface{}

func TestRequest

func TestRequest(t *testing.T, ts *httptest.Server, method, path string, body io.Reader) (*http.Response, string)

Types

type MockHttpHandler

type MockHttpHandler struct {
	mock.Mock
}

func (*MockHttpHandler) ServeHTTP

DoSomething is a method on MyMockedObject that implements some interface

Jump to

Keyboard shortcuts

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