code: func NewFromObject(data map[string]interface{}) storage.Store {
  	db := New()
  	ctx := context.Background()
  	txn, err := db.NewTransaction(ctx, storage.WriteParams)
  	if err != nil {
  		panic(err)
  	}
  	if err := db.Write(ctx, txn, storage.AddOp, storage.Path{}, data); err != nil {
  		panic(err)
  	}
  	if err := db.Commit(ctx, txn); err != nil {
  		panic(err)
  	}
  	return db
  }
docs: // NewFromObject returns a new in-memory store from the supplied data object.