feat: jwt util

This commit is contained in:
Bobo
2025-05-23 14:31:59 +08:00
parent 028dd8dd19
commit 5abe88a0d9
5 changed files with 33 additions and 7 deletions

View File

@@ -5,13 +5,16 @@ go 1.23.0
toolchain go1.24.1
require (
github.com/go-kratos/kratos/v2 v2.8.4
github.com/golang-jwt/jwt/v5 v5.1.0
github.com/stretchr/testify v1.10.0
)
require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)