Documentation
¶
Overview ¶
Package output is a generated GoMock package.
Index ¶
Constants ¶
View Source
const ( Created = "created" Deleted = "deleted" Updated = "updated" )
Variables ¶
This section is empty.
Functions ¶
func FormatAndPrint ¶ added in v1.30.0
FormatAndPrint formats and prints a message indicating the success of an operation, with or without style, depending on the color configuration.
Types ¶
type ErrorOutput ¶
type ErrorOutput struct {
GeneralOutput GeneralOutput
Err error
}
func (*ErrorOutput) Output ¶
func (o *ErrorOutput) Output() error
type GeneralOutput ¶
func (*GeneralOutput) Output ¶
func (o *GeneralOutput) Output()
type MockOutput ¶ added in v1.51.0
type MockOutput struct {
// contains filtered or unexported fields
}
MockOutput is a mock of Output interface.
func NewMockOutput ¶ added in v1.51.0
func NewMockOutput(ctrl *gomock.Controller) *MockOutput
NewMockOutput creates a new mock instance.
func (*MockOutput) EXPECT ¶ added in v1.51.0
func (m *MockOutput) EXPECT() *MockOutputMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOutput) Output ¶ added in v1.51.0
func (m *MockOutput) Output() error
Output mocks base method.
type MockOutputMockRecorder ¶ added in v1.51.0
type MockOutputMockRecorder struct {
// contains filtered or unexported fields
}
MockOutputMockRecorder is the mock recorder for MockOutput.
func (*MockOutputMockRecorder) Output ¶ added in v1.51.0
func (mr *MockOutputMockRecorder) Output() *gomock.Call
Output indicates an expected call of Output.
Click to show internal directories.
Click to hide internal directories.