Skip to content

Commit ed5d0c2

Browse files
committed
chore: upgrade to chi v5
1 parent 385ac5a commit ed5d0c2

31 files changed

+37
-37
lines changed

exp/services/recoverysigner/internal/serve/account_delete_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"net/http/httptest"
88
"testing"
99

10-
"github.com/go-chi/chi"
10+
"github.com/go-chi/chi/v5"
1111
"github.com/stellar/go/exp/services/recoverysigner/internal/account"
1212
"github.com/stellar/go/exp/services/recoverysigner/internal/db/dbtest"
1313
"github.com/stellar/go/exp/services/recoverysigner/internal/serve/auth"

exp/services/recoverysigner/internal/serve/account_get_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"net/http/httptest"
88
"testing"
99

10-
"github.com/go-chi/chi"
10+
"github.com/go-chi/chi/v5"
1111
"github.com/stellar/go/exp/services/recoverysigner/internal/account"
1212
"github.com/stellar/go/exp/services/recoverysigner/internal/db/dbtest"
1313
"github.com/stellar/go/exp/services/recoverysigner/internal/serve/auth"

exp/services/recoverysigner/internal/serve/account_post_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strings"
1010
"testing"
1111

12-
"github.com/go-chi/chi"
12+
"github.com/go-chi/chi/v5"
1313
"github.com/stellar/go/exp/services/recoverysigner/internal/account"
1414
"github.com/stellar/go/exp/services/recoverysigner/internal/db/dbtest"
1515
"github.com/stellar/go/exp/services/recoverysigner/internal/serve/auth"

exp/services/recoverysigner/internal/serve/account_put_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"strings"
99
"testing"
1010

11-
"github.com/go-chi/chi"
11+
"github.com/go-chi/chi/v5"
1212
"github.com/stellar/go/exp/services/recoverysigner/internal/account"
1313
"github.com/stellar/go/exp/services/recoverysigner/internal/db/dbtest"
1414
"github.com/stellar/go/exp/services/recoverysigner/internal/serve/auth"

exp/services/recoverysigner/internal/serve/account_sign_signing_address_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"strings"
1111
"testing"
1212

13-
"github.com/go-chi/chi"
13+
"github.com/go-chi/chi/v5"
1414
"github.com/stellar/go/exp/services/recoverysigner/internal/account"
1515
"github.com/stellar/go/exp/services/recoverysigner/internal/db/dbtest"
1616
"github.com/stellar/go/exp/services/recoverysigner/internal/serve/auth"

exp/services/recoverysigner/internal/serve/serve.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"strings"
88

99
firebaseauth "firebase.google.com/go/auth"
10-
"github.com/go-chi/chi"
10+
"github.com/go-chi/chi/v5"
1111
"github.com/prometheus/client_golang/prometheus"
1212
"github.com/stellar/go/exp/services/recoverysigner/internal/account"
1313
"github.com/stellar/go/exp/services/recoverysigner/internal/db"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require (
1717
github.com/djherbis/fscache v0.10.1
1818
github.com/elazarl/go-bindata-assetfs v1.0.1
1919
github.com/getsentry/raven-go v0.2.0
20-
github.com/go-chi/chi v4.1.2+incompatible
20+
github.com/go-chi/chi/v5 v5.2.1
2121
github.com/go-errors/errors v1.5.1
2222
github.com/golang-jwt/jwt v3.2.2+incompatible
2323
github.com/google/uuid v1.6.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ github.com/gavv/monotime v0.0.0-20161010190848-47d58efa6955 h1:gmtGRvSexPU4B1T/y
160160
github.com/gavv/monotime v0.0.0-20161010190848-47d58efa6955/go.mod h1:vmp8DIyckQMXOPl0AQVHt+7n5h7Gb7hS6CUydiV8QeA=
161161
github.com/getsentry/raven-go v0.2.0 h1:no+xWJRb5ZI7eE8TWgIq1jLulQiIoLG0IfYxv5JYMGs=
162162
github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ=
163-
github.com/go-chi/chi v4.1.2+incompatible h1:fGFk2Gmi/YKXk0OmGfBh0WgmN3XB8lVnEyNz34tQRec=
164-
github.com/go-chi/chi v4.1.2+incompatible/go.mod h1:eB3wogJHnLi3x/kFX2A+IbTBlXxmMeXJVKy9tTv1XzQ=
163+
github.com/go-chi/chi/v5 v5.2.1 h1:KOIHODQj58PmL80G2Eak4WdvUzjSJSm0vG72crDCqb8=
164+
github.com/go-chi/chi/v5 v5.2.1/go.mod h1:L2yAIGWB3H+phAw1NxKwWM+7eUH/lU8pOMm5hHcoops=
165165
github.com/go-errors/errors v1.5.1 h1:ZwEMSLRCapFLflTpT7NKaAc7ukJ8ZPEjzlxt8rPN8bk=
166166
github.com/go-errors/errors v1.5.1/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og=
167167
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=

services/federation/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"os"
66

7-
"github.com/go-chi/chi"
7+
"github.com/go-chi/chi/v5"
88
"github.com/spf13/cobra"
99
"github.com/stellar/go/handlers/federation"
1010
"github.com/stellar/go/support/app"

services/friendbot/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
stdhttp "net/http"
77
"os"
88

9-
"github.com/go-chi/chi"
9+
"github.com/go-chi/chi/v5"
1010
"github.com/spf13/cobra"
1111

1212
"github.com/stellar/go/services/friendbot/internal"

0 commit comments

Comments
 (0)