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:
@@ -34,37 +34,37 @@ A lightweight, high-performance Go authentication and authorization framework, i
|
||||
|
||||
```bash
|
||||
# Import only the framework integration (includes core + stputil automatically)
|
||||
go get github.com/click33/sa-token-go/integrations/gin@v0.1.2 # Gin framework
|
||||
go get github.com/click33/sa-token-go/integrations/gin@v0.1.3 # Gin framework
|
||||
# or
|
||||
go get github.com/click33/sa-token-go/integrations/echo@v0.1.2 # Echo framework
|
||||
go get github.com/click33/sa-token-go/integrations/echo@v0.1.3 # Echo framework
|
||||
# or
|
||||
go get github.com/click33/sa-token-go/integrations/fiber@v0.1.2 # Fiber framework
|
||||
go get github.com/click33/sa-token-go/integrations/fiber@v0.1.3 # Fiber framework
|
||||
# or
|
||||
go get github.com/click33/sa-token-go/integrations/chi@v0.1.2 # Chi framework
|
||||
go get github.com/click33/sa-token-go/integrations/chi@v0.1.3 # Chi framework
|
||||
# or
|
||||
go get github.com/click33/sa-token-go/integrations/gf@v0.1.2 # GoFrame framework
|
||||
go get github.com/click33/sa-token-go/integrations/gf@v0.1.3 # GoFrame framework
|
||||
|
||||
# Storage module (choose one)
|
||||
go get github.com/click33/sa-token-go/storage/memory@v0.1.2 # Memory storage (dev)
|
||||
go get github.com/click33/sa-token-go/storage/redis@v0.1.2 # Redis storage (prod)
|
||||
go get github.com/click33/sa-token-go/storage/memory@v0.1.3 # Memory storage (dev)
|
||||
go get github.com/click33/sa-token-go/storage/redis@v0.1.3 # Redis storage (prod)
|
||||
```
|
||||
|
||||
#### Option 2: Separate Import
|
||||
|
||||
```bash
|
||||
# Core modules
|
||||
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
|
||||
|
||||
# Storage module (choose one)
|
||||
go get github.com/click33/sa-token-go/storage/memory@v0.1.2 # Memory storage (dev)
|
||||
go get github.com/click33/sa-token-go/storage/redis@v0.1.2 # Redis storage (prod)
|
||||
go get github.com/click33/sa-token-go/storage/memory@v0.1.3 # Memory storage (dev)
|
||||
go get github.com/click33/sa-token-go/storage/redis@v0.1.3 # Redis storage (prod)
|
||||
|
||||
# Framework integration (optional)
|
||||
go get github.com/click33/sa-token-go/integrations/gin@v0.1.2 # Gin framework
|
||||
go get github.com/click33/sa-token-go/integrations/echo@v0.1.2 # Echo framework
|
||||
go get github.com/click33/sa-token-go/integrations/fiber@v0.1.2 # Fiber framework
|
||||
go get github.com/click33/sa-token-go/integrations/chi@v0.1.2 # Chi framework
|
||||
go get github.com/click33/sa-token-go/integrations/gin@v0.1.3 # Gin framework
|
||||
go get github.com/click33/sa-token-go/integrations/echo@v0.1.3 # Echo framework
|
||||
go get github.com/click33/sa-token-go/integrations/fiber@v0.1.3 # Fiber framework
|
||||
go get github.com/click33/sa-token-go/integrations/chi@v0.1.3 # Chi framework
|
||||
```
|
||||
|
||||
### ⚡ Minimal Usage (One-line Initialization)
|
||||
@@ -101,7 +101,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