fs storage
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package repo
|
||||
|
||||
import (
|
||||
"galaxy/model/order"
|
||||
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
func LoadOrder_T(s Storage, t uint, id uuid.UUID) (*order.Order, bool, error) {
|
||||
return loadOrder(s, t, id)
|
||||
}
|
||||
|
||||
func SaveOrder_T(s Storage, t uint, id uuid.UUID, o *order.Order) error {
|
||||
return saveOrder(s, t, id, o)
|
||||
}
|
||||
Reference in New Issue
Block a user