|
|
@@ -159,7 +159,7 @@ func (c *Context) Del(key string) error {
|
|
|
return c.db.Delete([]byte(key), &opt.WriteOptions{Sync: true})
|
|
|
}
|
|
|
|
|
|
-// get everything in the db so dump it out for backup purposes
|
|
|
+// get everything in the db to dump it out for backup purposes
|
|
|
func (c *Context) GetAll() (map [string]Route, error) {
|
|
|
golinks := map[string]Route{}
|
|
|
iter := c.db.NewIterator(nil, nil)
|