Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct {
ID int
Name string
Bio *string
Status UserStatus
CreatedAt time.Time
Username string
Score *int
ExternalID uuid.UUID
UpdatedAt *time.Time
Settings map[string]interface{}
Labels map[string]interface{}
TagNames []string
Metadata UserMetadata
PostIDs []int
Posts PostList
PinnedPostID int
PinnedPost *Post
TagIDs []int
Tags TagList
FullName string
IsPremium bool
ExpiresAt time.Time
SubscriptionDuration time.Duration
}
type UserMetadata ¶
type UserMetadata struct {
Links []string
}
type UserStatus ¶
type UserStatus string
const ( UserStatusActive UserStatus = "active" UserStatusInactive UserStatus = "inactive" )
Click to show internal directories.
Click to hide internal directories.