Documentation ¶
Overview ¶
Package typed is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallForeignMethod ¶
func CallForeignMethod(s Source)
Types ¶
type Bar ¶
type Bar[T any, R any] interface { One(string) string Two(T) string Three(T) R Four(T) Foo[T, R] Five(T) Baz[T] Six(T) *Baz[T] Seven(T) other.One[T] Eight(T) other.Two[T, R] Nine(Iface[T]) Ten(*T) Eleven() (*other.One[T], error) Twelve() (*other.Two[T, R], error) Thirteen() (Baz[StructType], error) Fourteen() (*Foo[StructType, StructType2], error) Fifteen() (Iface[StructType], error) Sixteen() (Baz[other.Three], error) Seventeen() (*Foo[other.Three, other.Four], error) Eighteen() (Iface[*other.Five], error) Nineteen() AliasType }
type ExternalConstraint ¶
type MockSource ¶
type MockSource struct {
// contains filtered or unexported fields
}
MockSource is a mock of Source interface.
func NewMockSource ¶
func NewMockSource(ctrl *gomock.Controller) *MockSource
NewMockSource creates a new mock instance.
func (*MockSource) EXPECT ¶
func (m *MockSource) EXPECT() *MockSourceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSourceMockRecorder ¶
type MockSourceMockRecorder struct {
// contains filtered or unexported fields
}
MockSourceMockRecorder is the mock recorder for MockSource.
func (*MockSourceMockRecorder) Error ¶
func (mr *MockSourceMockRecorder) Error() *SourceErrorCall
Error indicates an expected call of Error.
func (*MockSourceMockRecorder) Method ¶
func (mr *MockSourceMockRecorder) Method() *SourceMethodCall
Method indicates an expected call of Method.
type SourceErrorCall ¶
SourceErrorCall wrap *gomock.Call
func (*SourceErrorCall) Do ¶
func (c *SourceErrorCall) Do(f func() string) *SourceErrorCall
Do rewrite *gomock.Call.Do
func (*SourceErrorCall) DoAndReturn ¶
func (c *SourceErrorCall) DoAndReturn(f func() string) *SourceErrorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SourceErrorCall) Return ¶
func (c *SourceErrorCall) Return(arg0 string) *SourceErrorCall
Return rewrite *gomock.Call.Return
type SourceMethodCall ¶
SourceMethodCall wrap *gomock.Call
func (*SourceMethodCall) Do ¶
func (c *SourceMethodCall) Do(f func() faux.Return) *SourceMethodCall
Do rewrite *gomock.Call.Do
func (*SourceMethodCall) DoAndReturn ¶
func (c *SourceMethodCall) DoAndReturn(f func() faux.Return) *SourceMethodCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SourceMethodCall) Return ¶
func (c *SourceMethodCall) Return(arg0 faux.Return) *SourceMethodCall
Return rewrite *gomock.Call.Return
type StructType ¶
type StructType struct{}
type StructType2 ¶
type StructType2 struct{}
Click to show internal directories.
Click to hide internal directories.