Save and find use Index

This commit is contained in:
Asdine El Hrychy
2016-03-09 19:24:30 +01:00
parent 9535e45031
commit a8cacd81cb
5 changed files with 82 additions and 101 deletions

View File

@@ -9,4 +9,9 @@ var (
ErrBadType = errors.New("provided data must be a struct or a pointer to struct")
ErrAlreadyExists = errors.New("already exists")
ErrNilParam = errors.New("param must not be nil")
ErrBadIndexType = errors.New("bad index type")
ErrBadTarget = errors.New("provided target must be a pointer to a slice")
ErrNoName = errors.New("provided target must have a name")
ErrIndexNotFound = errors.New("index not found")
ErrNotFound = errors.New("not found")
)