Skip to content

Commit

Permalink
GODRIVER-2154 Audit code generated by operationgen and remove operati…
Browse files Browse the repository at this point in the history
…ongen (#809)
  • Loading branch information
benjirewis authored Nov 17, 2021
1 parent 10abf0f commit d6d6625
Show file tree
Hide file tree
Showing 52 changed files with 55 additions and 2,320 deletions.
6 changes: 0 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,6 @@ issues:
linters:
- revive
- errcheck
# Ignore some linters for generated operation code.
# TODO: Re-enable once GODRIVER-2154 is done.
- path: x/mongo/driver/operation/
linters:
- staticcheck
- ineffassign
# Disable unused code linters for the copy/pasted "awsv4" package.
- path: x/mongo/driver/auth/internal/awsv4
linters:
Expand Down
11 changes: 0 additions & 11 deletions cmd/operationgen/README.md

This file was deleted.

80 changes: 0 additions & 80 deletions cmd/operationgen/main.go

This file was deleted.

4 changes: 2 additions & 2 deletions x/mongo/driver/DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ The `Operation` type handles executing a series of commands using a `Deployment`
batch split write commands, such as insert. The type itself is heavily documented, so reading the
code and comments together should provide an understanding of how the type works.

This type is not meant to be used directly by callers. Instead an wrapping type should be defined
using the IDL and an implementation generated using `operationgen`.
This type is not meant to be used directly by callers. Instead a wrapping type should be defined
using the IDL.
Loading

0 comments on commit d6d6625

Please sign in to comment.