diff --git a/mutation_helpers.go b/api_mutation_helpers.go similarity index 100% rename from mutation_helpers.go rename to api_mutation_helpers.go diff --git a/query_execution.go b/api_query_execution.go similarity index 98% rename from query_execution.go rename to api_query_execution.go index dc77b66..bf9cb23 100644 --- a/query_execution.go +++ b/api_query_execution.go @@ -185,7 +185,8 @@ func executeQuery[T any](ctx context.Context, n *Namespace, queryParams QueryPar return gids, objs, nil } -func getExistingObject[T any](ctx context.Context, n *Namespace, gid uint64, cf *ConstrainedField, object T) (uint64, error) { +func getExistingObject[T any](ctx context.Context, n *Namespace, gid uint64, cf *ConstrainedField, + object T) (uint64, error) { var err error if gid != 0 { gid, _, err = getByGidWithObject[T](ctx, n, gid, object)