Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponseError ¶
type ResponseError struct {
Message string `json:"message"`
}
func Error ¶
func Error(err error) ResponseError
type UserResponse ¶
type UserResponse struct { ID int32 `json:"id"` DiscordID string `json:"discord_id"` CreatedAt time.Time `json:"created_at"` }
func NewUserResponse ¶
func NewUserResponse(user *usersdb.User) UserResponse
Click to show internal directories.
Click to hide internal directories.