chore: migrate module path to gitea.unbound.se
Update module path from git.unbound.se to gitea.unbound.se for Go module discovery over HTTPS.
This commit is contained in:
@@ -23,7 +23,7 @@ repos:
|
|||||||
- id: go-imports
|
- id: go-imports
|
||||||
args:
|
args:
|
||||||
- -local
|
- -local
|
||||||
- git.unbound.se/shiny/authz_client
|
- gitea.unbound.se/shiny/authz_client
|
||||||
- repo: https://github.com/lietu/go-pre-commit
|
- repo: https://github.com/lietu/go-pre-commit
|
||||||
rev: v1.0.0
|
rev: v1.0.0
|
||||||
hooks:
|
hooks:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ Provides a client for the authz-service, handling privilege management for users
|
|||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import client "git.unbound.se/shiny/authz_client"
|
import client "gitea.unbound.se/shiny/authz_client"
|
||||||
|
|
||||||
// Create handler with options
|
// Create handler with options
|
||||||
handler := client.New(client.WithBaseURL("http://authz-service"))
|
handler := client.New(client.WithBaseURL("http://authz-service"))
|
||||||
|
|||||||
Reference in New Issue
Block a user