Documentation
¶
Index ¶
- func ValidateCreateRequest(req *pb.CreateBookRequest) error
- func ValidateDeleteBookRequest(req *pb.DeleteBookRequest) error
- func ValidateEmail(value string) error
- func ValidateFetchBookByIdRequest(req *pb.FetchBookByIdRequest) error
- func ValidatePassword(value string) error
- func ValidateString(fieldName string, value string, minLength int, maxLength int) error
- func ValidateUpdateRequest(req *pb.UpdateBookRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCreateRequest ¶
func ValidateCreateRequest(req *pb.CreateBookRequest) error
func ValidateDeleteBookRequest ¶
func ValidateDeleteBookRequest(req *pb.DeleteBookRequest) error
func ValidateEmail ¶
func ValidateFetchBookByIdRequest ¶
func ValidateFetchBookByIdRequest(req *pb.FetchBookByIdRequest) error
func ValidatePassword ¶
func ValidateString ¶
func ValidateUpdateRequest ¶
func ValidateUpdateRequest(req *pb.UpdateBookRequest) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.