// clearInventory is a test helper to remove all items from the inventory datastore
clearInventory is a test helper to remove all items from the inventory datastore
// clearInventory is a test helper to remove all items from the inventory datastore
func clearInventory() (recordsRemoved int64, err error) {
	var ds DataStore
	ds.Init()
	defer ds.Close()
	recordsRemoved, err = ds.RemoveAll()
	return recordsRemoved, err
}
func clearInventory ( ) ( recordsRemoved int64 , err error ) { var ds DataStore ds . Init ( ) defer ds . Close ( ) recordsRemoved , err = ds . RemoveAll ( ) return recordsRemoved , err }
clearInventory is a test helper to remove all items from the inventory datastore
clearInventory is a test helper to remove all items from the inventory datastore