scheme

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 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 GetAMCCompletions added in v0.5.1

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

func GetNAVNameCompletions added in v0.5.1

func GetNAVNameCompletions(db *gorm.DB, amc string) []price.AutoCompleteItem

func UpsertAll

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

Types

type Scheme

type Scheme struct {
	ID       uint `gorm:"primaryKey" json:"id"`
	AMC      string
	Code     string
	Name     string
	Type     string
	Category string
	NAVName  string
}

Jump to

Keyboard shortcuts

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