Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove fjson package #4176

Merged
merged 1 commit into from Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 0 additions & 8 deletions .golangci.yml
Expand Up @@ -26,14 +26,6 @@ linters-settings:
desc: use `github.com/jackc/pgx/v5` package instead
- pkg: github.com/jackc/pgx/v4
desc: use `github.com/jackc/pgx/v5` package instead
fjson:
# TODO https://github.com/FerretDB/FerretDB/issues/4157
files:
- $all
- "!**/internal/bson/*_test.go"
- "!**/internal/util/testutil/*.go"
deny:
- pkg: github.com/FerretDB/FerretDB/internal/types/fjson
bson:
files:
- $all
Expand Down
2 changes: 0 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -158,8 +158,6 @@ The `internal` subpackages contain most of the FerretDB code:

- `types` package provides Go types matching BSON types that don't have built-in Go equivalents:
we use `int32` for BSON's int32, but `types.ObjectID` for BSON's ObjectId.
- `types/fjson` provides converters from/to FJSON for built-in and `types` types.
It is used for logging of BSON values and wire protocol messages.
- `bson` package provides converters from/to BSON for built-in and `types` types.
- `wire` package provides wire protocol implementation.
- `clientconn` package provides client connection implementation.
Expand Down
61 changes: 0 additions & 61 deletions internal/types/fjson/array.go

This file was deleted.

50 changes: 0 additions & 50 deletions internal/types/fjson/array_test.go

This file was deleted.

51 changes: 0 additions & 51 deletions internal/types/fjson/binary.go

This file was deleted.

49 changes: 0 additions & 49 deletions internal/types/fjson/binary_test.go

This file was deleted.

41 changes: 0 additions & 41 deletions internal/types/fjson/bool.go

This file was deleted.

36 changes: 0 additions & 36 deletions internal/types/fjson/bool_test.go

This file was deleted.

54 changes: 0 additions & 54 deletions internal/types/fjson/datetime.go

This file was deleted.