Storage to uuids
This commit is contained in:
@@ -46,6 +46,10 @@ func (rlg RateLimitedGraph) Insert(ctx context.Context, namespace string, one en
|
||||
return rlg.g.Insert(ctx, namespace, one)
|
||||
}
|
||||
|
||||
func (rlg RateLimitedGraph) Get(ctx context.Context, namespace, id string) (entity.One, error) {
|
||||
return rlg.g.Get(ctx, namespace, id)
|
||||
}
|
||||
|
||||
func (rlg RateLimitedGraph) List(ctx context.Context, namespace string, from ...string) ([]entity.One, error) {
|
||||
return rlg.g.List(ctx, namespace, from...)
|
||||
}
|
||||
@@ -58,6 +62,6 @@ func (rlg RateLimitedGraph) Search(ctx context.Context, namespace string, nameCo
|
||||
return rlg.g.Search(ctx, namespace, nameContains)
|
||||
}
|
||||
|
||||
func (rlg RateLimitedGraph) Update(ctx context.Context, namespace string, one entity.One, modify interface{}) error {
|
||||
func (rlg RateLimitedGraph) Update(ctx context.Context, namespace string, one, modify interface{}) error {
|
||||
return rlg.g.Update(ctx, namespace, one, modify)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user