-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Labels
priority/low優先度: 低め優先度: 低め
Description
github.com/golang-jwt/jwt を使う
- コード中のimportもgolang-jwt/jwtに変えてみようとする
- go.sumにまだ古いdgrijalva/jwt-goが残っているのに気づく → echoが古い方にまだ依存していた ref use github.com/golang-jwt/jwt labstack/echo#1916
- これに対処するためMIGRATION_GUIDE.mdに従って、コード中のimportは変えずgo.modのreplace directiveで対応しようとした
go mod tidyをすると以下が出てダメ
❯ go mod tidy
go: finding module for package github.com/golang-jwt/jwt/test
go: finding module for package github.com/golang-jwt/jwt
go: finding module for package github.com/golang-jwt/jwt/request
go: found github.com/golang-jwt/jwt in github.com/golang-jwt/jwt v3.2.1+incompatible
go: found github.com/golang-jwt/jwt/request in github.com/golang-jwt/jwt v3.2.1+incompatible
go: found github.com/golang-jwt/jwt/test in github.com/golang-jwt/jwt v3.2.1+incompatible
go: github.com/golang-jwt/jwt@v3.2.1+incompatible used for two different module paths (github.com/dgrijalva/jwt-go and github.com/golang-jwt/jwt)
†やばい事†が起こっていそう
ref #1159
Metadata
Metadata
Assignees
Labels
priority/low優先度: 低め優先度: 低め