Versions in this module Expand all Collapse all v2 v2.0.0 Apr 3, 2025 Changes in this version + func Equal(t T, got interface{}, expect interface{}, msg ...string) + func Error(t T, got error, expr string, msg ...string) + func False(t T, got bool, msg ...string) + func Implements(t T, got interface{}, expect interface{}, msg ...string) + func JsonEqual(t T, got string, expect string, msg ...string) + func Matches(t T, got string, expr string, msg ...string) + func Nil(t T, got interface{}, msg ...string) + func NotEqual(t T, got interface{}, expect interface{}, msg ...string) + func NotNil(t T, got interface{}, msg ...string) + func NotSame(t T, got interface{}, expect interface{}, msg ...string) + func Panic(t T, fn func(), expr string, msg ...string) + func Same(t T, got interface{}, expect interface{}, msg ...string) + func True(t T, got bool, msg ...string) + func TypeOf(t T, got interface{}, expect interface{}, msg ...string) + type MockT struct + func NewMockT(ctrl *gomock.Controller) *MockT + func (m *MockT) EXPECT() *MockTMockRecorder + func (m *MockT) Error(args ...interface{}) + func (m *MockT) Helper() + type MockTMockRecorder struct + func (mr *MockTMockRecorder) Error(args ...interface{}) *gomock.Call + func (mr *MockTMockRecorder) Helper() *gomock.Call + type StringAssertion struct + func String(t T, v string) *StringAssertion + func (a *StringAssertion) Contains(substr string, msg ...string) *StringAssertion + func (a *StringAssertion) EqualFold(s string, msg ...string) + func (a *StringAssertion) HasPrefix(prefix string, msg ...string) *StringAssertion + func (a *StringAssertion) HasSuffix(suffix string, msg ...string) *StringAssertion + type T interface + Error func(args ...interface{}) + Helper func() Other modules containing this package gitee.com/go-spring2/spring-base