Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestValidator ¶
type RequestValidator interface {
Run(i interface{}) []*domain.ValidationError
}
RequestValidator - リクエストバリデーションインターフェース
func NewRequestValidator ¶
func NewRequestValidator() RequestValidator
NewRequestValidator - Validatorの生成
type UserRequestValidation ¶
type UserRequestValidation interface { CreateUser(req *request.CreateUser) []*domain.ValidationError UpdateProfile(req *request.UpdateProfile) []*domain.ValidationError }
UserRequestValidation - ユーザー関連のバリデーション
func NewUserRequestValidation ¶
func NewUserRequestValidation() UserRequestValidation
NewUserRequestValidation - UserRequestValidationの生成
Click to show internal directories.
Click to hide internal directories.