Skip to content

Commit

Permalink
Update git clone URL and add authorize middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
funnyzak committed Feb 18, 2024
1 parent 5715a9a commit 24d42d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ docker run -d \

```bash
# Pull source code
git clone https://go-gin && cd go-gin
git clone git@github.com:funnyzak/go-gin.git && cd go-gin
# Compose startup, startup parameter configuration can be done by modifying the docker-compose.yml file
docker compose up -d
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

type AuthorizeOption struct {
User bool // if true, only logged user can access
User bool // if true, only logined user can access
Guest bool // if true, only guest can access
IsPage bool
AllowAPI bool // if true, allow API token
Expand Down

0 comments on commit 24d42d4

Please sign in to comment.