models

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TeamFilter

type TeamFilter struct {
	IDs         []int64
	Names       []string
	Departments []string
}

func NewFilter

func NewFilter(req *desc.TeamGetRequest) *TeamFilter

func (*TeamFilter) Apply

func (f *TeamFilter) Apply(query sq.SelectBuilder) sq.SelectBuilder

type TeamRow

type TeamRow struct {
	ID            int64    `db:"id"`
	Name          string   `db:"name"`
	Members       []string `db:"members"`
	Projects      []int64  `db:"projects"`
	TechOwner     string   `db:"tech_owner"`
	BusinessOwner string   `db:"business_owner"`
	Department    string   `db:"department"`
}

Jump to

Keyboard shortcuts

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