Versions in this module Expand all Collapse all v3 v3.0.6 Jan 7, 2022 v3.0.5 Jan 7, 2022 Changes in this version + var ResultSuccess = StringResult + type Comparison func() Result + func Contains(collection interface{}, item interface{}) Comparison + func DeepEqual(x, y interface{}, opts ...cmp.Option) Comparison + func Equal(x, y interface{}) Comparison + func Error(err error, message string) Comparison + func ErrorContains(err error, substring string) Comparison + func ErrorIs(actual error, expected error) Comparison + func ErrorType(err error, expected interface{}) Comparison + func Len(seq interface{}, expected int) Comparison + func Nil(obj interface{}) Comparison + func Panics(f func()) Comparison + func Regexp(re RegexOrPattern, v string) Comparison + type RegexOrPattern interface + type Result interface + Success func() bool + func ResultFailureTemplate(template string, data map[string]interface{}) Result + func ResultFromError(err error) Result + type StringResult struct + func ResultFailure(message string) StringResult + func (r StringResult) FailureMessage() string + func (r StringResult) Success() bool Other modules containing this package github.com/DominicLavery/gotest.tools