common.go 225 B

12345678910111213
  1. package dto
  2. type EmptyResponse struct{}
  3. type ErrorResponse struct {
  4. Error string `json:"error"`
  5. }
  6. type ValidateErrorResponse struct {
  7. Field string `json:"field"`
  8. Tag string `json:"tag"`
  9. Value string `json:"value"`
  10. }