matchers

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contains

type Contains struct {
	Value string
}

func (*Contains) Matches

func (s *Contains) Matches(x interface{}) bool

func (*Contains) String

func (s *Contains) String() string

type Is

type Is struct {
	Test     func(v interface{}) bool
	Describe string
}

func (*Is) Matches

func (s *Is) Matches(x interface{}) bool

func (*Is) String

func (s *Is) String() string

type StartsWith

type StartsWith struct {
	Value string
}

func (*StartsWith) Matches

func (s *StartsWith) Matches(x interface{}) bool

func (*StartsWith) String

func (s *StartsWith) String() string

Jump to

Keyboard shortcuts

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