Skip to content

Commit

Permalink
Remove fjson package (#4176)
Browse files Browse the repository at this point in the history
Closes #4157.
  • Loading branch information
AlekSi committed Mar 13, 2024
1 parent 34a6fa5 commit ea9c5bd
Show file tree
Hide file tree
Showing 31 changed files with 3 additions and 1,599 deletions.
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.

0 comments on commit ea9c5bd

Please sign in to comment.