Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubIdentity ¶
type GithubIdentity struct {
// contains filtered or unexported fields
}
func NewGithubIdentity ¶
func NewGithubIdentity(nodeID GithubUserNodeId) GithubIdentity
func (GithubIdentity) NodeID ¶
func (gi GithubIdentity) NodeID() GithubUserNodeId
type GithubProfile ¶
type GithubUserNodeId ¶
type GithubUserNodeId struct {
// contains filtered or unexported fields
}
--- GithubUserNodeId
func NewGithubUserNodeId ¶
func NewGithubUserNodeId(value string) GithubUserNodeId
No validation for now
func (GithubUserNodeId) String ¶
func (e GithubUserNodeId) String() string
type User ¶
type User struct {
// contains filtered or unexported fields
}
func HydrateUser ¶
func HydrateUser( id string, name string, email string, githubIdentityNodeId string, ) (*User, error)
HydrateUser is designed to bypass any checks for invariants, typically used during tests or when hydrating from a DB.
func (*User) GithubIdentity ¶
func (u *User) GithubIdentity() GithubIdentity
type UserID ¶
type UserID struct {
// contains filtered or unexported fields
}
--- UserID
func GenerateUserID ¶
func (UserID) WrappedUuid ¶
Click to show internal directories.
Click to hide internal directories.