Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
UserID string `json:"user_id"` // unique identifier for this table
Provider types.AuthProvider `json:"provider"`
Token string `json:"token"` // ex HashedPassword, etc
Status types.Status `json:"status"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
func FromEntList ¶
FromEntList converts a list of ent Auths to domain Auths
Click to show internal directories.
Click to hide internal directories.