Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Issue ¶
type Issue struct { Id int64 `db:"issue_id"` Title string `db:"issue_title"` Description string `db:"issue_description"` ProjectId int64 `db:"issue_projectId"` OwnerId int64 `db:"issue_ownerId"` }
Issue represents a Project task
type IssueRepository ¶
type IssueRepository interface { GetById(id int64) (*Issue, error) All(*ListOptions) (*ListResponse, error) Create(issue *Issue) error Delete(id int64) error }
type IssueService ¶
type IssueService interface { Issue(id int64) (*Issue, error) Issues(*ListOptions) (*ListResponse, error) Create(issue *Issue) error Delete(id int64) error }
type ListOptions ¶
ListOptions specifies the optional parameters to various List methods that support pagination.
Click to show internal directories.
Click to hide internal directories.