web

package
v0.0.0-...-cff4666 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2021 License: MIT, MIT Imports: 3 Imported by: 0

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

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) Delete

func (s IssuePaginator) Delete(id int64) error

Deletes an Issue

func (IssuePaginator) Issue

func (p IssuePaginator) Issue(id int64) (*domain.Issue, error)

func (IssuePaginator) Issues

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL