goatest

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Service

func Service(logBuf io.Writer, respSetter ResponseSetterFunc) *goa.Service

Service provide a general goa.Service used for testing purposes

Types

type ResponseSetterFunc

type ResponseSetterFunc func(resp interface{})

ResponseSetterFunc func

func (ResponseSetterFunc) Encode

func (r ResponseSetterFunc) Encode(v interface{}) error

Encode implements a dummy encoder that returns the value being encoded

type TInterface deprecated added in v1.1.0

type TInterface = testing.TB

TInterface is an interface for Go's testing.T and testing.B.

Deprecated: use testing.TB instead.

Jump to

Keyboard shortcuts

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