Documentation ¶ Index ¶ func Count(db *gorm.DB) int64 func GetAMCs(db *gorm.DB) []string func GetNAVNames(db *gorm.DB, amc string) []string func UpsertAll(db *gorm.DB, schemes []*Scheme) type Scheme func FindScheme(db *gorm.DB, amc string, NAVName string) Scheme Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Count ¶ func Count(db *gorm.DB) int64 func GetAMCs ¶ func GetAMCs(db *gorm.DB) []string func GetNAVNames ¶ func GetNAVNames(db *gorm.DB, amc string) []string 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 } func FindScheme ¶ func FindScheme(db *gorm.DB, amc string, NAVName string) Scheme Source Files ¶ View all Source files scheme.go Click to show internal directories. Click to hide internal directories.