Skip to content

Commit

Permalink
Hide dependencies in tools.go from importers
Browse files Browse the repository at this point in the history
Projects that use `go mod vendor` will vendor `github.com/matryer/moq`
despite it not being required at runtime.

Moving `tools.go` to `internal` hides this import from downstream
users and avoids `github.com/matryer/moq` being vendored.

`go generate` of the mocks still works as expected.
  • Loading branch information
danielwhite committed Jul 12, 2022
1 parent fb13091 commit d62e44c
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit d62e44c

Please sign in to comment.