Added completed user. Some fixes and more more more...
This commit is contained in:
parent
b96dd39795
commit
ea8ab7c0ed
33 changed files with 576 additions and 212 deletions
|
|
@ -1,10 +1,10 @@
|
|||
package requests
|
||||
|
||||
type CreatePostRequest struct {
|
||||
Title string `json:"title" validate:"required,min=8,max=255"`
|
||||
Description string `json:"description" validate:"required,min=8,max=255"`
|
||||
Content string `json:"content" validate:"required,min=36"`
|
||||
UserId string `json:"userId" validate:"required,uuid5"`
|
||||
Title string `json:"title" binding:"required,min=8,max=255"`
|
||||
Description string `json:"description" binding:"required,min=8,max=255"`
|
||||
Content string `json:"content" binding:"required,min=36"`
|
||||
UserId string `json:"userId" binding:"required,uuid5"`
|
||||
Category string `json:"category"`
|
||||
Tags []string `json:"tags"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue