package
Version:
v0.1.5
Opens a new window with list of versions in this module.
Published: Aug 28, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
RegisterAdmin registers Widget on the runtime admin. Feature packages own
this call — the framework never discovers GORM models by itself (ADR-013).
type Widget struct {
ID uint `gorm:"primaryKey" json:"id"`
Name string `json:"name"`
SKU string `json:"sku"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
Widget is the small model registered with the admin in this example.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.