Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gist ¶
type Gist struct {
FileID string `json:"fileId" db:"file_id"`
UserID string `json:"userId" db:"user_id"`
GistTitle string `json:"gistTitle" db:"gist_title"`
ForkedFrom sql.NullString `json:"forkedFrom" db:"forked_from"`
ShortUrl string `json:"shortUrl" db:"short_url"`
ViewCount int `json:"viewCount" db:"view_count"`
IsPublic bool `json:"isEnabled" db:"is_enabled"`
IsDeleted bool `json:"isDeleted" db:"is_deleted"`
CreatedAt time.Time `json:"createdAt" db:"created_at"`
UpdatedAt time.Time `json:"updatedAt" db:"updated_at"`
}
type User ¶
type User struct {
ID string `json:"id" db:"id"`
Name string `json:"name" db:"name"`
Email string `json:"email" db:"email" `
AuthProvider string `json:"authProvider" db:"auth_provider"`
IsAdmin bool `json:"isAdmin" db:"is_admin"`
IsPremium bool `json:"isPremium" db:"is_premium"`
IsDeleted bool `json:"isDeleted" db:"is_deleted"`
CreatedAt string `json:"createdAt" db:"created_at"`
UpdatedAt string `json:"updatedAt" db:"updated_at"`
}
Click to show internal directories.
Click to hide internal directories.