diff --git a/README.md b/README.md index f02f96e..77fe98b 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/internal/gogin/authorize_handler.go b/internal/gogin/authorize.go similarity index 97% rename from internal/gogin/authorize_handler.go rename to internal/gogin/authorize.go index 65b329e..3636ad5 100644 --- a/internal/gogin/authorize_handler.go +++ b/internal/gogin/authorize.go @@ -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