Documentation ¶
Overview ¶
Package lottery is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lottery ¶
func NewDefaultLottery ¶
func NewDefaultLottery() Lottery
type MockLottery ¶
type MockLottery struct {
// contains filtered or unexported fields
}
MockLottery is a mock of Lottery interface
func NewMockLottery ¶
func NewMockLottery(ctrl *gomock.Controller) *MockLottery
NewMockLottery creates a new mock instance
func (*MockLottery) EXPECT ¶
func (m *MockLottery) EXPECT() *MockLotteryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockLotteryMockRecorder ¶
type MockLotteryMockRecorder struct {
// contains filtered or unexported fields
}
MockLotteryMockRecorder is the mock recorder for MockLottery
func (*MockLotteryMockRecorder) Draw ¶
func (mr *MockLotteryMockRecorder) Draw(arg0 interface{}) *gomock.Call
Draw indicates an expected call of Draw
type MockWeighter ¶
type MockWeighter struct {
// contains filtered or unexported fields
}
MockWeighter is a mock of Weighter interface
func NewMockWeighter ¶
func NewMockWeighter(ctrl *gomock.Controller) *MockWeighter
NewMockWeighter creates a new mock instance
func (*MockWeighter) EXPECT ¶
func (m *MockWeighter) EXPECT() *MockWeighterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockWeighterMockRecorder ¶
type MockWeighterMockRecorder struct {
// contains filtered or unexported fields
}
MockWeighterMockRecorder is the mock recorder for MockWeighter
func (*MockWeighterMockRecorder) Weight ¶
func (mr *MockWeighterMockRecorder) Weight() *gomock.Call
Weight indicates an expected call of Weight
Click to show internal directories.
Click to hide internal directories.