Make validation less verbose (#24)
This commit is contained in:
parent
e5c1588576
commit
b73786f7fe
5 changed files with 5 additions and 5 deletions
|
|
@ -10,7 +10,7 @@ type List struct {
|
|||
OwnerID int64 `xorm:"int(11) INDEX" json:"-"`
|
||||
NamespaceID int64 `xorm:"int(11) INDEX" json:"-" param:"namespace"`
|
||||
|
||||
Owner User `xorm:"-" json:"owner"`
|
||||
Owner User `xorm:"-" json:"owner" valid:"-"`
|
||||
Tasks []*ListTask `xorm:"-" json:"tasks"`
|
||||
|
||||
Created int64 `xorm:"created" json:"created"`
|
||||
|
|
|
|||
Reference in a new issue