goatest

package
v1.5.11 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 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 added in v1.1.0

type TInterface = testing.TB

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

It is an alias of testing.TB.

Jump to

Keyboard shortcuts

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