func (storage *Storage) Put(key []byte, data []byte) error {
	storage.Db[string(key)] = string(data)
	return nil
}
Put uses LevelDB's Put method to put data into LevelDB
package inmemory
import (
	"strings"
	"github.com/sprawl/sprawl/errors"
)
type Storage struct {
	Db map[string]string
}
var err error
var data []byte
func (storage *Storage) SetDbPath(dbPath string) {
}
func (storage *Storage) Run() error {
	return nil
}
func (storage *Storage) Close() {
}
func (storage *Storage) Has(key []byte) (bool, error) {
	_, ok := storage.Db[string(key)]
	return ok, nil
}
func (storage *Storage) Get(key []byte) ([]byte, error) {
	value, ok := storage.Db[string(key)]
	var err error
	if !ok {
		err = errors.E(errors.Op("Get value from memory database"))
	}
	return []byte(value), err
}