diff --git a/.deepsource.toml b/.deepsource.toml index c7e4f38..ecc59f4 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -5,7 +5,7 @@ name = "go" enabled = true [analyzers.meta] - import_root = "github.com/krakendio/httpcache" + import_root = "github.com/krakend/httpcache" [[transformers]] name = "gofmt" @@ -13,4 +13,4 @@ enabled = true [[transformers]] name = "gofumpt" -enabled = true \ No newline at end of file +enabled = true diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e669473..5b6d7d4 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -8,14 +8,14 @@ on: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Test uses: docker://krakend/builder:latest-linux-generic with: args: sh -c "go get -t -v ./...; gofmt -w -s . && git diff --exit-code; go tool vet .; - go test -v -race ./..." \ No newline at end of file + go test -v -race ./..." diff --git a/README.md b/README.md index f3b33b7..165e388 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ httpcache This a fork of github.com/gregjones/httpcache which includes various fixes. Original backends are removed since are not used by KrakenD. -[![GoDoc](https://godoc.org/github.com/krakendio/httpcache?status.svg)](https://godoc.org/github.com/krakendio/httpcache) +[![GoDoc](https://godoc.org/github.com/krakend/httpcache?status.svg)](https://godoc.org/github.com/krakend/httpcache) Package httpcache provides a http.RoundTripper implementation that works as a mostly [RFC 7234](https://tools.ietf.org/html/rfc7234) compliant cache for http responses. diff --git a/go.mod b/go.mod index e11032d..9aa16e0 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/krakendio/httpcache +module github.com/krakend/httpcache go 1.19 diff --git a/test/test.go b/test/test.go index 7fcecd4..d918705 100644 --- a/test/test.go +++ b/test/test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/krakendio/httpcache" + "github.com/krakend/httpcache" ) // Cache excercises a httpcache.Cache implementation. diff --git a/test/test_test.go b/test/test_test.go index fe8a33c..dee4416 100644 --- a/test/test_test.go +++ b/test/test_test.go @@ -3,8 +3,8 @@ package test_test import ( "testing" - "github.com/krakendio/httpcache" - "github.com/krakendio/httpcache/test" + "github.com/krakend/httpcache" + "github.com/krakend/httpcache/test" ) func TestMemoryCache(t *testing.T) {