victorspringer / http-cache

High performance Golang HTTP middleware for server-side application layer caching, ideal for REST APIs
https://godoc.org/github.com/victorspringer/http-cache
MIT License
339 stars 63 forks source link

Add go.mod files for the adapters #18

Open titpetric opened 9 months ago

titpetric commented 9 months ago

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