Adds feed model to possible validation constraints
This commit is contained in:
parent
7394270227
commit
a2e5462553
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ import (
|
|||
)
|
||||
|
||||
type ModelConstraint interface {
|
||||
*model.User // | add other models here
|
||||
*model.User | *model.Feed
|
||||
}
|
||||
|
||||
type ValidationError struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue