Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubRepo ¶
type GithubRepo struct { Name string `json:"name" db:"name,omitempty"` Url string `json:"url" db:"url,omitempty"` Description string `json:"description" db:"description,omitempty"` Color string `json:"color" db:"color,omitempty"` Lang string `json:"lang" db:"lang,omitempty"` Fork string `json:"fork" db:"fork,omitempty"` Stars string `json:"stars" db:"stars,omitempty"` StarsToday string `json:"starsToday" db:"stars_today,omitempty"` BuildBy string `json:"-" db:"build_by,omitempty"` Bookmarked bool `json:"bookmarked"` Contributors []string `json:"contributors,omitempty"` CreatedAt time.Time `json:"-" db:"created_at,omitempty"` UpdatedAt time.Time `json:"-" db:"updated_at,omitempty"` }
type JwtCustomClaims ¶
type JwtCustomClaims struct { UserId string Role string jwt.StandardClaims }
type User ¶
type User struct { UserId string `json:"-" db:"user_id, omitempty"` FullName string `json:"fullName,omitempty" db:"full_name, omitempty"` Email string `json:"email,omitempty" db:"email, omitempty"` Password string `json:"-" db:"password, omitempty"` Role string `json:"-" db:"role, omitempty"` CreatedAt time.Time `json:"-" db:"created_at, omitempty"` UpdatedAt time.Time `json:"-" db:"updated_at, omitempty"` Token string `json:"token,omitempty"` }
Click to show internal directories.
Click to hide internal directories.