Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(db *sql.Client) repositories.UserRepository
Types ¶
type ExternalUser ¶
type ExternalUser struct { ID string `gorm:"column:id;primaryKey"` UserID string `gorm:"column:user_id;not null"` ExternalUserID string `gorm:"column:external_user_id;not null"` ProviderID string `gorm:"column:provider_id;not null"` CreatedAt time.Time `gorm:"column:created_at;autoCreateTime"` UpdatedAt time.Time `gorm:"column:updated_at;autoUpdateTime"` DeletedAt gorm.DeletedAt `gorm:"column:deleted_at"` }
func (ExternalUser) TableName ¶
func (ExternalUser) TableName() string
type User ¶
Click to show internal directories.
Click to hide internal directories.