scheme

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Count

func Count(db *gorm.DB) int64

func GetPFMCompletions added in v0.5.1

func GetPFMCompletions(db *gorm.DB) []price.AutoCompleteItem

func GetSchemeNameCompletions added in v0.5.1

func GetSchemeNameCompletions(db *gorm.DB, pfm string) []price.AutoCompleteItem

func UpsertAll

func UpsertAll(db *gorm.DB, schemes []*Scheme)

Types

type Scheme

type Scheme struct {
	ID         uint `gorm:"primaryKey" json:"id"`
	PFMName    string
	SchemeID   string
	SchemeName string
}

func (Scheme) TableName

func (Scheme) TableName() string

Jump to

Keyboard shortcuts

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