test

package
v0.0.0-...-82662e5 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(t *testing.T, expectedData, testData interface{})

Assert function

Types

type DataTest

type DataTest struct {
	String  string                  `nolog:"true"`
	Pointer *string                 `nolog:"true"`
	Int     int                     `nolog:"true"`
	Error   error                   `nolog:"true"`
	JSON    []byte                  `nolog:"true"`
	Func    func(teste string) bool `nolog:"true"`
	Map     map[string]interface{}  `nolog:"true"`
	Array   [7]interface{}          `nolog:"true"`
	Slice   []interface{}           `nolog:"true"`
	Logged  string
}

DataTest struct type

type InterTest

type InterTest interface {
	// contains filtered or unexported methods
}

InterTest interface type

Jump to

Keyboard shortcuts

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