gateway

package
v0.0.0-...-5d37a61 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssueGateway

type IssueGateway interface {
	Add(row *models.IssueRow) (int64, error)
	AddChild(parentID, childID int64) error
	AddComment(id int64, comments string) (int64, error)
	Get(filter *models.IssueFilter) ([]*models.IssueRow, error)
	GetInfo(filter *models.IssueFilter) ([]*models.IssueInfoRow, error)
	GetByID(id int64) (*models.IssueRow, error)
	GetInfoByID(id int64) (*models.IssueInfoRow, error)
	GetProjectLastID(id int64) (int64, error)
	GetUserPayment() (map[string]float64, error)
	Update(row *models.IssueRow) (int64, error)
}

func NewIssueGateWay

func NewIssueGateWay(db *sql.DB) IssueGateway

Jump to

Keyboard shortcuts

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