Skip to content

Commit

Permalink
*: gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
tolgaOzen committed Nov 17, 2023
1 parent 8c78113 commit 3190637
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 7 deletions.
3 changes: 1 addition & 2 deletions internal/storage/postgres/dataWriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import (
"context"
"database/sql"
"errors"
"strings"

"log/slog"
"strings"

"github.com/golang/protobuf/jsonpb"

Expand Down
1 change: 0 additions & 1 deletion internal/storage/postgres/schemaReader.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"database/sql"
"errors"

"log/slog"

"github.com/Masterminds/squirrel"
Expand Down
1 change: 0 additions & 1 deletion internal/storage/postgres/schemaReader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ var _ = Describe("SchemaReader", func() {
Expect(en.GetPermissions()).Should(Equal(map[string]*base.PermissionDefinition{}))
Expect(en.GetAttributes()).Should(Equal(map[string]*base.AttributeDefinition{}))
Expect(en.GetReferences()["admin"]).Should(Equal(base.EntityDefinition_REFERENCE_RELATION))

})
})

Expand Down
1 change: 0 additions & 1 deletion internal/storage/postgres/tenantReader.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"database/sql"
"errors"

"log/slog"

"github.com/Masterminds/squirrel"
Expand Down
3 changes: 1 addition & 2 deletions internal/storage/postgres/tenantWriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ import (
"context"
"database/sql"
"errors"
"log/slog"
"strings"
"time"

"log/slog"

"github.com/Masterminds/squirrel"
otelCodes "go.opentelemetry.io/otel/codes"
"google.golang.org/protobuf/types/known/timestamppb"
Expand Down

0 comments on commit 3190637

Please sign in to comment.