package
0.0.0-20241030152356-8c950ad76724
Repository: https://github.com/hylarucoder/rocketbase.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.
UniqueId checks whether the provided model id already 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.