Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUrlStore ¶
MockUrlStore is an autogenerated mock type for the UrlStore type
func NewMockUrlStore ¶
func NewMockUrlStore(t mockConstructorTestingTNewMockUrlStore) *MockUrlStore
NewMockUrlStore creates a new instance of MockUrlStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockUrlStore) CheckIfExists ¶
CheckIfExists provides a mock function with given fields: _a0, _a1
type UrlService ¶
type UrlService interface { Generate(context.Context, UrlStruct) (UrlStruct, error) Get(context.Context, UrlStruct) (UrlStruct, error) }
func NewUrlService ¶
func NewUrlService(urlStore UrlStore, ig *indigo.Generator) UrlService
Click to show internal directories.
Click to hide internal directories.