Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserRepository ¶
func NewUserRepository(cfg conf.Persistence) (user.Repository, error)
Types ¶
type SocialAccount ¶
type SocialAccount struct {
UserID string `gorm:"primaryKey"`
SocialID user.SocialID `gorm:"primaryKey"`
Provider user.SocialProvider
model.DataModel
}
func NewSocialAccount ¶
func NewSocialAccount(a *user.SocialAccount, u *user.User) *SocialAccount
Click to show internal directories.
Click to hide internal directories.