package
0.0.0-20200715051430-68fba199993f
Repository: https://github.com/itomofumi/go-gin-xorm-starter.git
Documentation: pkg.go.dev

# Functions

FruitBodyStructLevelValidation contains FruitBody custom struct level validations.
NewErrorResponse APIエラー時の詳細レスポンスを生成.

# Constants

ErrorAuth authentication error.
ErrorLimitExceeded throttling error.
ErrorNotFound not found error.
ErrorParam parameter error.
ErrorUnknown unknown error.

# Structs

Common テーブル共通項目を定義.
ErrorResponse の定義.
ErrorResponseInner の定義.
Fruit is a model.
FruitBody the main data.
StructValidator defines validations for models.
User ユーザー情報を格納.
UserCreateBody contains new user data.
UserProfile has user's editable profile data.
UserPublicData has public user data.

# Type aliases

ErrorType エラータイプ.