Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DecodedAmmo ¶ added in v0.5.6
type Decoder ¶
type Decoder interface { Scan(context.Context) (DecodedAmmo, error) Release(a core.Ammo) LoadAmmo(context.Context) ([]DecodedAmmo, error) }
func NewDecoder ¶
type MockDecoder ¶ added in v0.5.6
MockDecoder is an autogenerated mock type for the Decoder type
func NewMockDecoder ¶ added in v0.5.6
func NewMockDecoder(t mockConstructorTestingTNewMockDecoder) *MockDecoder
NewMockDecoder creates a new instance of MockDecoder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockDecoder) LoadAmmo ¶ added in v0.5.6
func (_m *MockDecoder) LoadAmmo(_a0 context.Context) ([]DecodedAmmo, error)
LoadAmmo provides a mock function with given fields: _a0
func (*MockDecoder) Release ¶ added in v0.5.6
func (_m *MockDecoder) Release(a core.Ammo)
Release provides a mock function with given fields: a
func (*MockDecoder) Scan ¶ added in v0.5.6
func (_m *MockDecoder) Scan(_a0 context.Context) (DecodedAmmo, error)
Scan provides a mock function with given fields: _a0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.