Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IContactService ¶
type IContactService interface { DoRead(context.Context, string, int64) (*contactmodel.Contact, messagemodel.IMessage) DoReadAll(context.Context, string) ([]*contactmodel.Contact, messagemodel.IMessage) DoSave(context.Context, *contactmodel.Contact) messagemodel.IMessage DoDelete(context.Context, string, int64) messagemodel.IMessage }
IContactService - Contact service interface
func NewContactService ¶
func NewContactService(db *sql.DB) IContactService
NewContactService - Contact service implementation
Directories ¶
Path | Synopsis |
---|---|
Package mock_contact is a generated GoMock package.
|
Package mock_contact is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.