parent
62734899e2
commit
d46e721063
15 changed files with 71 additions and 14 deletions
|
@ -33,6 +33,10 @@ func (s *SpeciesBase) UpdateError() error {
|
|||
return errors.ErrSpeciesNotUpdated
|
||||
}
|
||||
|
||||
func (s *SpeciesBase) DeleteError() error {
|
||||
return errors.ErrSpeciesNotDeleted
|
||||
}
|
||||
|
||||
// SpeciesBase is what the DB expects for write operations.
|
||||
type SpeciesBase struct {
|
||||
ID int64 `db:"id" json:"id"`
|
||||
|
|
Reference in a new issue