Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *pop.Connection
DB is a connection to your database to be used throughout your application.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { ID uuid.UUID `json:"id" db:"id"` CreatedAt time.Time `json:"created_at" db:"created_at"` UpdatedAt time.Time `json:"updated_at" db:"updated_at"` Model string `json:"model" db:"model"` Description string `json:"description" db:"description"` Serial string `json:"serial" db:"serial"` UserID uuid.UUID `json:"user_id" db:"user_id"` }
type User ¶
type User struct { ID uuid.UUID `json:"id" db:"id"` CreatedAt time.Time `json:"created_at" db:"created_at"` UpdatedAt time.Time `json:"updated_at" db:"updated_at"` Name string `json:"name" db:"name"` Email nulls.String `json:"email" db:"email"` Provider string `json:"provider" db:"provider"` ProviderID string `json:"provider_id" db:"provider_id"` }
Click to show internal directories.
Click to hide internal directories.