Skip to content

Commit 047bf3e

Browse files
committed
update package path
This commit updates the package path to use the 'go.tkw01536.de' domain.
1 parent 5f0434f commit 047bf3e

13 files changed

Lines changed: 673 additions & 565 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Lint & Test
33
on: [push, pull_request]
44

55
env:
6-
GO_VERSION: '^1.22'
6+
GO_VERSION: '^1.24'
77

88
jobs:
99
check:
@@ -13,13 +13,9 @@ jobs:
1313
- uses: actions/setup-go@v2
1414
with:
1515
go-version: ${{ env.GO_VERSION }}
16-
- name: Install gogenlicense
17-
run: go install github.com/tkw1536/gogenlicense/cmd/gogenlicense@latest
1816
- uses: actions/checkout@v2
1917
- name: Update licenses
20-
run: |
21-
export PATH=$PATH:$(go env GOPATH)/bin
22-
go generate ./...
18+
run: go generate ./...
2319
- name: Check that 'gofmt' has been run
2420
run: test -z $(gofmt -l .)
2521
- name: Run 'go test'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You can additionally add authorized key files to override whatever is stored on
3030
-v /path/to/additional/keys:/keys:ro
3131
```
3232

33-
For a more detailed documentation, see [the godoc page](https://pkg.go.dev/github.com/tkw1536/akhttpd).
33+
For a more detailed documentation, see [the godoc page](https://pkg.go.dev/go.tkw01536.de/akhttpd).
3434

3535
## License
3636
The code is licensed under the CC0 License, hence in the public domain.

cmd/akhttpd/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ import (
123123
"strings"
124124
"time"
125125

126-
"github.com/tkw1536/akhttpd"
127-
"github.com/tkw1536/akhttpd/legal"
128-
"github.com/tkw1536/akhttpd/pkg/format"
129-
"github.com/tkw1536/akhttpd/pkg/repo"
126+
"go.tkw01536.de/akhttpd"
127+
"go.tkw01536.de/akhttpd/legal"
128+
"go.tkw01536.de/akhttpd/pkg/format"
129+
"go.tkw01536.de/akhttpd/pkg/repo"
130130
)
131131

132132
func main() {

go.mod

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,36 @@
1-
module github.com/tkw1536/akhttpd
1+
module go.tkw01536.de/akhttpd
22

3-
go 1.24.2
3+
go 1.24.5
44

55
require (
66
github.com/die-net/lrucache v0.0.0-20240714232319-26322ba4bc23
77
github.com/google/go-github v17.0.0+incompatible
88
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79
99
github.com/mpolden/echoip v0.0.0-20230521182614-d84665c26cf7
1010
github.com/pkg/errors v0.9.1
11-
github.com/tkw1536/pkglib v0.0.0-20250414190927-f9a88308b643
12-
golang.org/x/crypto v0.37.0
13-
golang.org/x/oauth2 v0.29.0
11+
go.tkw01536.de/pkglib v0.0.0-20250709062832-2e03f4a6e59a
12+
golang.org/x/crypto v0.39.0
13+
golang.org/x/oauth2 v0.30.0
1414
)
1515

1616
require (
17+
github.com/davecgh/go-spew v1.1.1 // indirect
18+
github.com/go-logr/logr v1.4.3 // indirect
19+
github.com/golang/glog v1.2.5 // indirect
20+
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
21+
github.com/google/go-licenses/v2 v2.0.0-alpha.1 // indirect
1722
github.com/google/go-querystring v1.1.0 // indirect
23+
github.com/google/licenseclassifier/v2 v2.0.0 // indirect
1824
github.com/gorilla/websocket v1.5.3 // indirect
19-
golang.org/x/sys v0.32.0 // indirect
25+
github.com/sergi/go-diff v1.4.0 // indirect
26+
go.opencensus.io v0.24.0 // indirect
27+
go.tkw01536.de/gogenlicense v1.5.0 // indirect
28+
golang.org/x/mod v0.25.0 // indirect
29+
golang.org/x/net v0.41.0 // indirect
30+
golang.org/x/sync v0.15.0 // indirect
31+
golang.org/x/sys v0.33.0 // indirect
32+
golang.org/x/tools v0.34.0 // indirect
33+
k8s.io/klog/v2 v2.130.1 // indirect
2034
)
35+
36+
tool go.tkw01536.de/gogenlicense/cmd/gogenlicense

go.sum

Lines changed: 131 additions & 10 deletions
Large diffs are not rendered by default.

handler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"regexp"
1111
"strings"
1212

13-
"github.com/tkw1536/akhttpd/pkg/format"
14-
"github.com/tkw1536/akhttpd/pkg/repo"
13+
"go.tkw01536.de/akhttpd/pkg/format"
14+
"go.tkw01536.de/akhttpd/pkg/repo"
1515
)
1616

1717
// spellchecker:words akhttpd

legal/docs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ package legal
33

44
// spellchecker:words akhttpd gogenlicense
55

6-
//go:generate gogenlicense -p legal -n Notices -d notices.go github.com/tkw1536/akhttpd
6+
//go:generate go tool gogenlicense -m

legal/docs_notices.go

Lines changed: 504 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

legal/notices.go

Lines changed: 0 additions & 529 deletions
This file was deleted.

pkg/format/authorized_keys.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
_ "embed"
88

9-
"github.com/tkw1536/akhttpd/pkg/count"
9+
"go.tkw01536.de/akhttpd/pkg/count"
1010
"golang.org/x/crypto/ssh"
1111
)
1212

0 commit comments

Comments
 (0)