testutils

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPointer

func BoolPointer(v bool) *bool

func DurationPointer

func DurationPointer(v time.Duration) *time.Duration

func FloatPointer

func FloatPointer(v float32) *float32

func IntPointer

func IntPointer(v int) *int

func NewTime

func NewTime(t *testing.T, layout, str string) time.Time

func StringPointer

func StringPointer(v string) *string

func TestName

func TestName(_ *testing.T, name string, index int) string

func TimePointer

func TimePointer(v time.Time) *time.Time

Types

This section is empty.

Jump to

Keyboard shortcuts

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