Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockedGreeter ¶
type MockedGreeter struct { // GreetFunc provides a mock implementation of Greet. GreetFunc func(name string) (string, error) // GreetCalls represents the number of times Greet was called. GreetCalls int // ResetFunc provides a mock implementation of Reset. ResetFunc func() // ResetCalls represents the number of times Reset was called. ResetCalls int }
MockedGreeter is a mock implementation of Greeter.
type MockedSignoff ¶
type MockedSignoff struct { // SignoffFunc provides a mock implementation of Signoff. SignoffFunc func(name string) string // SignoffCalls represents the number of times Signoff was called. SignoffCalls int }
MockedSignoff is a mock implementation of Signoff.
func (*MockedSignoff) Signoff ¶
func (m *MockedSignoff) Signoff(name string) string
Signoff calls SignoffFunc.
Click to show internal directories.
Click to hide internal directories.