mirror of
https://github.com/click33/sa-token-go.git
synced 2026-04-22 23:37:07 +08:00
chore: bump version to v0.1.3
This commit is contained in:
+17
-17
@@ -34,38 +34,38 @@
|
||||
|
||||
```bash
|
||||
# 只导入框架集成包(自动包含 core + stputil)
|
||||
go get github.com/click33/sa-token-go/integrations/gin@v0.1.2 # Gin框架
|
||||
go get github.com/click33/sa-token-go/integrations/gin@v0.1.3 # Gin框架
|
||||
# 或
|
||||
go get github.com/click33/sa-token-go/integrations/echo@v0.1.2 # Echo框架
|
||||
go get github.com/click33/sa-token-go/integrations/echo@v0.1.3 # Echo框架
|
||||
# 或
|
||||
go get github.com/click33/sa-token-go/integrations/fiber@v0.1.2 # Fiber框架
|
||||
go get github.com/click33/sa-token-go/integrations/fiber@v0.1.3 # Fiber框架
|
||||
# 或
|
||||
go get github.com/click33/sa-token-go/integrations/chi@v0.1.2 # Chi框架
|
||||
go get github.com/click33/sa-token-go/integrations/chi@v0.1.3 # Chi框架
|
||||
# 或
|
||||
go get github.com/click33/sa-token-go/integrations/gf@v0.1.2 # GoFrame框架
|
||||
go get github.com/click33/sa-token-go/integrations/gf@v0.1.3 # GoFrame框架
|
||||
|
||||
# 存储模块(选一个)
|
||||
go get github.com/click33/sa-token-go/storage/memory@v0.1.2 # 内存存储(开发)
|
||||
go get github.com/click33/sa-token-go/storage/redis@v0.1.2 # Redis存储(生产)
|
||||
go get github.com/click33/sa-token-go/storage/memory@v0.1.3 # 内存存储(开发)
|
||||
go get github.com/click33/sa-token-go/storage/redis@v0.1.3 # Redis存储(生产)
|
||||
```
|
||||
|
||||
#### 方式二:分开导入
|
||||
|
||||
```bash
|
||||
# 核心模块
|
||||
go get github.com/click33/sa-token-go/core@v0.1.2
|
||||
go get github.com/click33/sa-token-go/stputil@v0.1.2
|
||||
go get github.com/click33/sa-token-go/core@v0.1.3
|
||||
go get github.com/click33/sa-token-go/stputil@v0.1.3
|
||||
|
||||
# 存储模块(选一个)
|
||||
go get github.com/click33/sa-token-go/storage/memory@v0.1.2 # 内存存储(开发)
|
||||
go get github.com/click33/sa-token-go/storage/redis@v0.1.2 # Redis存储(生产)
|
||||
go get github.com/click33/sa-token-go/storage/memory@v0.1.3 # 内存存储(开发)
|
||||
go get github.com/click33/sa-token-go/storage/redis@v0.1.3 # Redis存储(生产)
|
||||
|
||||
# 框架集成(可选)
|
||||
go get github.com/click33/sa-token-go/integrations/gin@v0.1.2 # Gin框架
|
||||
go get github.com/click33/sa-token-go/integrations/echo@v0.1.2 # Echo框架
|
||||
go get github.com/click33/sa-token-go/integrations/fiber@v0.1.2 # Fiber框架
|
||||
go get github.com/click33/sa-token-go/integrations/chi@v0.1.2 # Chi框架
|
||||
go get github.com/click33/sa-token-go/integrations/gf@v0.1.2 # GoFrame框架
|
||||
go get github.com/click33/sa-token-go/integrations/gin@v0.1.3 # Gin框架
|
||||
go get github.com/click33/sa-token-go/integrations/echo@v0.1.3 # Echo框架
|
||||
go get github.com/click33/sa-token-go/integrations/fiber@v0.1.3 # Fiber框架
|
||||
go get github.com/click33/sa-token-go/integrations/chi@v0.1.3 # Chi框架
|
||||
go get github.com/click33/sa-token-go/integrations/gf@v0.1.3 # GoFrame框架
|
||||
```
|
||||
|
||||
### ⚡ 超简洁使用(一行初始化)
|
||||
@@ -102,7 +102,7 @@ func init() {
|
||||
___/ / /_/ / / / / /_/ / ,< / __/ / / /_____/ /_/ / /_/ /
|
||||
/____/\__,_/ /_/ \____/_/|_|\___/_/ /_/ \____/\____/
|
||||
|
||||
:: Sa-Token-Go :: (v0.1.2)
|
||||
:: Sa-Token-Go :: (v0.1.3)
|
||||
:: Go Version :: go1.21.0
|
||||
:: GOOS/GOARCH :: linux/amd64
|
||||
|
||||
|
||||
Reference in New Issue
Block a user