parent
ba2f6a45c8
commit
d1c982cb73
6 changed files with 19 additions and 6 deletions
|
@ -201,6 +201,7 @@ type UpdateProfileForm struct {
|
|||
Website string `binding:"ValidUrl;MaxSize(255)"`
|
||||
Location string `binding:"MaxSize(50)"`
|
||||
Language string `binding:"Size(5)"`
|
||||
Description string `binding:"MaxSize(255)"`
|
||||
}
|
||||
|
||||
// Validate validates the fields
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue