Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseQuery ¶
func ParseQuery(ulrString string) *domain.ListOptions
Parse url query into ListOptions
Types ¶
type IssueController ¶
type IssueController struct {
IssueService domain.IssueService
}
Controller for Issue model
func (IssueController) List ¶
func (c IssueController) List(w http.ResponseWriter, r *http.Request)
type IssuePaginator ¶
type IssuePaginator struct {
IssueService domain.IssueService
}
Paginator Service for Issue Service
func (IssuePaginator) Create ¶
func (s IssuePaginator) Create(u *domain.Issue) error
Creates an Issue
func (IssuePaginator) Issues ¶
func (p IssuePaginator) Issues(opts *domain.ListOptions) (*domain.ListResponse, error)
Click to show internal directories.
Click to hide internal directories.