Documentation ¶
Overview ¶
Package models contains application specific entities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct { ID int `json:"id"` Name string `json:"name"` UpdatedAt time.Time `json:"updated_at,omitempty"` Email string `json:"email"` }
Driver holds specific application settings linked to an Account.
func (*Driver) BeforeInsert ¶
BeforeInsert hook executed before database insert operation.
type DriverStore ¶
type DriverStore struct {
// contains filtered or unexported fields
}
DriverStore implements database operations for Driver management.
func NewDriverStore ¶
func NewDriverStore(db *pg.DB) *DriverStore
NewDriverStore returns a DriverStore implementation.
Click to show internal directories.
Click to hide internal directories.