Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRepository ¶
func NewRepository(db *gorm.DB) menuactionresource.Repository
Types ¶
type Model ¶
type Model struct { ID string `gorm:"column:id;primary_key;size:36;"` ActionID string `gorm:"column:action_id;size:36;index;default:'';not null;"` Method string `gorm:"column:method;size:100;default:'';not null;"` Path string `gorm:"column:path;size:100;default:'';not null;"` }
func (Model) ToDomain ¶
func (a Model) ToDomain() *menuactionresource.MenuActionResource
Click to show internal directories.
Click to hide internal directories.