goatest

package
v0.0.0-...-a0b01fe Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Service

func Service(logBuf *bytes.Buffer, 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

type TInterface interface {
	Errorf(format string, args ...interface{})
	Fatalf(format string, args ...interface{})
}

TInterface is an interface for go's testing.T

Jump to

Keyboard shortcuts

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