Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ name = "go"
enabled = true

[analyzers.meta]
import_root = "github.com/krakendio/httpcache"
import_root = "github.com/krakend/httpcache"

[[transformers]]
name = "gofmt"
enabled = true

[[transformers]]
name = "gofumpt"
enabled = true
enabled = true
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./..."
go test -v -race ./..."
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/krakendio/httpcache
module github.com/krakend/httpcache

go 1.19
2 changes: 1 addition & 1 deletion test/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"testing"

"github.com/krakendio/httpcache"
"github.com/krakend/httpcache"
)

// Cache excercises a httpcache.Cache implementation.
Expand Down
4 changes: 2 additions & 2 deletions test/test_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down