mirror of
https://github.com/dnote/dnote
synced 2026-03-16 23:45:52 +01:00
Implement MVC
This commit is contained in:
parent
172f608b66
commit
cd5d094c25
146 changed files with 13596 additions and 2328 deletions
12
pkg/server/database/errors.go
Normal file
12
pkg/server/database/errors.go
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
package database
|
||||
|
||||
import (
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
type modelError string
|
||||
|
||||
var (
|
||||
// ErrNotFound an error that indicates that the given resource is not found
|
||||
ErrNotFound error = errors.New("not found")
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue