The adapter dependencies may be CGO or non-cgo, and may be undesirable to pull into a project if unused.
Add go.mod files into adapter packages to exclude those dependencies from the main go.mod; For tests, a separate package (and separate go.mod for the test/ package) would avoid those dependencies being pulled into the main go.mod
The adapter dependencies may be CGO or non-cgo, and may be undesirable to pull into a project if unused.
Add go.mod files into adapter packages to exclude those dependencies from the main go.mod; For tests, a separate package (and separate go.mod for the test/ package) would avoid those dependencies being pulled into the main go.mod