mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
misspell
Former-commit-id: 3be90d3099bfd9eabebd299dc08f9d6c1e6c2a29
This commit is contained in:
@@ -21,10 +21,10 @@ const (
|
||||
MySQL
|
||||
)
|
||||
|
||||
// LoadUsers returns all users(empty map) from the memory, for the shake of simplicty.
|
||||
// LoadUsers returns all users(empty map) from the memory, for the sake of simplicty.
|
||||
func LoadUsers(engine Engine) (map[int64]datamodels.User, error) {
|
||||
if engine != Memory {
|
||||
return nil, errors.New("for the shake of simplicity we're using a simple map as the data source")
|
||||
return nil, errors.New("for the sake of simplicity we're using a simple map as the data source")
|
||||
}
|
||||
|
||||
return make(map[int64]datamodels.User), nil
|
||||
|
||||
Reference in New Issue
Block a user