feat: move module path to git.unbound.se (#26)
subscriptions / coverage-baseline (push) Successful in 49s
Unbound Release / Check Preconditions (push) Successful in 2s
Unbound Release / Create Tag (push) Skipped
subscriptions / test (push) Skipped
subscriptions / vulnerabilities (push) Skipped
pre-commit / pre-commit (push) Skipped
Unbound Release / Generate Changelog and Handle PR (push) Successful in 14s
Unbound Release / Create Release (push) Successful in 5s
Release / release (push) Successful in 6m19s
subscriptions / coverage-baseline (push) Successful in 49s
Unbound Release / Check Preconditions (push) Successful in 2s
Unbound Release / Create Tag (push) Skipped
subscriptions / test (push) Skipped
subscriptions / vulnerabilities (push) Skipped
pre-commit / pre-commit (push) Skipped
Unbound Release / Generate Changelog and Handle PR (push) Successful in 14s
Unbound Release / Create Release (push) Successful in 5s
Release / release (push) Successful in 6m19s
This commit was merged in pull request #26.
This commit is contained in:
1 parent
d865530f4e
commit
036295cced
4 files changed
+4
-4
No files matched your search
@@ -23,7 +23,7 @@ repos:
|
|||||||
- id: go-imports
|
- id: go-imports
|
||||||
args:
|
args:
|
||||||
- -local
|
- -local
|
||||||
- gitea.unbound.se/shiny/subscriptions
|
- git.unbound.se/shiny/subscriptions
|
||||||
- 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:
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ instances of the pattern to use this library rather than copy it.
|
|||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "gitea.unbound.se/shiny/subscriptions"
|
import "git.unbound.se/shiny/subscriptions"
|
||||||
|
|
||||||
// One registry per subscription field, parameterised by the GraphQL payload.
|
// One registry per subscription field, parameterised by the GraphQL payload.
|
||||||
reg := subscriptions.New[model.EntryBasisChange](
|
reg := subscriptions.New[model.EntryBasisChange](
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ of that pattern, extracted from the hand-rolled copies in `authz-service`
|
|||||||
(`availableCompanies`) and `accounting-service` (`entryBasesChanged`).
|
(`availableCompanies`) and `accounting-service` (`entryBasesChanged`).
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "gitea.unbound.se/shiny/subscriptions"
|
import "git.unbound.se/shiny/subscriptions"
|
||||||
|
|
||||||
// One registry per subscription, parameterised by the GraphQL payload type.
|
// One registry per subscription, parameterised by the GraphQL payload type.
|
||||||
reg := subscriptions.New[model.EntryBasisChange](subscriptions.WithLogger(logger))
|
reg := subscriptions.New[model.EntryBasisChange](subscriptions.WithLogger(logger))
|
||||||
|
|||||||
Reference in new issue
Block a user