Documentation ¶
Index ¶
- type GetUserRequest
- type HealthCheckResponse
- type JsonBirthDate
- func (j JsonBirthDate) ConvertValue(v interface{}) (driver.Value, error)
- func (j JsonBirthDate) Format(s string) string
- func (j JsonBirthDate) MarshalJSON() ([]byte, error)
- func (j JsonBirthDate) Time() (time.Time, error)
- func (j *JsonBirthDate) UnmarshalJSON(b []byte) error
- func (j JsonBirthDate) Value() (driver.Value, error)
- type ListUserRequest
- type User
- type ValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetUserRequest ¶
type GetUserRequest struct {
Id int64 `form:"id" binding:"required"`
}
type HealthCheckResponse ¶
type JsonBirthDate ¶
func (JsonBirthDate) ConvertValue ¶
func (j JsonBirthDate) ConvertValue(v interface{}) (driver.Value, error)
func (JsonBirthDate) Format ¶
func (j JsonBirthDate) Format(s string) string
Maybe a Format function for printing your date
func (JsonBirthDate) MarshalJSON ¶
func (j JsonBirthDate) MarshalJSON() ([]byte, error)
func (*JsonBirthDate) UnmarshalJSON ¶
func (j *JsonBirthDate) UnmarshalJSON(b []byte) error
type ListUserRequest ¶
type ValidationError ¶
type ValidationError struct {
Message string `json:"message" binding:"required"`
}
Click to show internal directories.
Click to hide internal directories.