Documentation ¶
Index ¶
- type Filament
- func CreateFilamentRGB(name string, material string, color colors.RGBColor, weight uint, slot uint, ...) Filament
- func CreateFilamentRGBHex(name string, material string, color string, weight uint, slot uint, price uint) Filament
- func CreateFilamentRGBRaw(name string, material string, r uint8, g uint8, b uint8, weight uint, ...) Filament
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filament ¶
type Filament struct { gorm.Model Name string `gorm:"not null"` Material string `gorm:"not null"` Color string `gorm:"not null"` Weight uint `gorm:"not null"` Slot uint `gorm:"unique;not null;check:slot > 0"` Price uint `gorm:"check:price >= 0"` }
func CreateFilamentRGB ¶
func CreateFilamentRGBHex ¶
Click to show internal directories.
Click to hide internal directories.