Update error messages

This commit is contained in:
Eder Manoel Cale Costa 2019-09-15 23:16:39 -03:00
parent fad10f3104
commit 45f2624802
1 changed files with 1 additions and 2 deletions

View File

@ -17,12 +17,11 @@ import (
const Version = "1.0.4" const Version = "1.0.4"
var ( var (
ErrMissingResource = errors.New("missing resource - unable to save record, no name") ErrMissingResource = errors.New("missing resource - unable to save record")
ErrMissingCollection = errors.New("missing collection - no place to save record") ErrMissingCollection = errors.New("missing collection - no place to save record")
) )
type ( type (
// Logger is a generic logger interface // Logger is a generic logger interface
Logger interface { Logger interface {
Fatal(string, ...interface{}) Fatal(string, ...interface{})