Compare commits
4 Commits
v0.4.0
...
60650b9c04
| Author | SHA1 | Date | |
|---|---|---|---|
| 60650b9c04 | |||
|
60d9eea9c9
|
|||
| dd571f8d85 | |||
| 1f822b2957 |
@@ -17,7 +17,7 @@ jobs:
|
|||||||
- uses: actions/setup-go@v6
|
- uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: stable
|
go-version: stable
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.14'
|
python-version: '3.14'
|
||||||
- name: Install goimports
|
- name: Install goimports
|
||||||
|
|||||||
@@ -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