1
0

Fixed lint + fmt

This commit is contained in:
konrad
2018-07-10 14:02:23 +02:00
committed by kolaente
parent c8622b0029
commit 237874eda6
25 changed files with 94 additions and 70 deletions

View File

@ -1,7 +1,8 @@
package models
// CRUDable defines the crud methods
type CRUDable interface {
Create(*User) (error)
Create(*User) error
ReadOne(int64) error
ReadAll(*User) (interface{}, error)
Update(int64, *User) error