package
Version:
v0.0.0-...-ccb7fba
Opens a new window with list of versions in this module.
Published: Aug 20, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Student struct {
gorm.Model
Name string `json:"name" validate:"nonzero, regexp=^[a-z A-Z]*$"`
CPF string `json:"cpf" validate:"len=11, regexp=^[0-9]*$"`
RG string `json:"rg" validate:"len=9, regexp=^[0-9]*$"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.