feat: move module path to git.unbound.se #26

Merged
argoyle merged 1 commits from feat/git-unbound-se-module-path into main 2026-10-17 18:08:04 +00:00
4 changed files with 4 additions and 4 deletions

No files matched your search

+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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](
+1 -1
View File
@@ -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))
+1 -1
View File
@@ -1,4 +1,4 @@
module gitea.unbound.se/shiny/subscriptions module git.unbound.se/shiny/subscriptions
go 1.25 go 1.25