package
9.20.6+incompatible
Repository: https://github.com/alperrehayazgan/postgresbase.git
Documentation: pkg.go.dev

# Functions

Compare checks whether the validated value matches another string.
NewRecordDataValidator creates new [models.Record] data validator using the provided record constraints and schema.
Compare checks whether the provided model id exists.
UploadedFileMimeType checks whether the validated `rest.UploadedFile` mimetype is within the provided allowed mime types.
UploadedFileSize checks whether the validated `rest.UploadedFile` size is no more than the provided maxBytes.

# Structs

RecordDataValidator defines a model.Record data validator using the provided record constraints and schema.