Adapts models

This commit is contained in:
Dennis Schoepf 2024-05-14 22:35:33 +02:00
parent 62f3f6ba8a
commit 96fc234068
3 changed files with 13 additions and 13 deletions

View file

@ -1,8 +1,8 @@
package model
type Feed struct {
ID int64
Name string
Url string
UserID int64
ID int64 `json:"id"`
Name string `json:"name"`
Url string `json:"url" validate:"required,url"`
UserID int64 `json:"userId" validate:"required"`
}