Work on datbase controller

This commit is contained in:
Daniel 2018-09-07 19:15:40 +02:00
parent 818cb332b4
commit 3d60431376
6 changed files with 77 additions and 90 deletions

View file

@ -8,8 +8,9 @@ import (
// Errors
var (
ErrNotFound = errors.New("database: entry could not be found")
ErrPermissionDenied = errors.New("database: access to record denied")
ErrNotFound = errors.New("database entry could not be found")
ErrPermissionDenied = errors.New("access to database record denied")
ErrReadOnly = errors.New("database is read only")
)
func init() {