diff options
| author | Shulhan <ms@kilabit.info> | 2025-12-27 15:20:29 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-12-27 15:20:29 +0700 |
| commit | 56fee32af1615249691bd09893655fd8e45fe9ca (patch) | |
| tree | cfc49a546c8a8e88d3637ec6fed5e1518719bda0 /go.mod | |
| parent | bfd37da4caf80514bccb73fd865f91582e5a22e2 (diff) | |
| download | kamusku-main.tar.xz | |
**🌼 all: fix logging in client tests**
**💧 all: replace golangci-lint with internal linter**
The internal/cmd/gocheck use the go static analysis [Analyzer] that are
not included in the default go vet.
By using gocheck we found un-alignment and shadowing,
* client.go:18:13: struct with 24 pointer bytes could be 16
* dictionary.go:23:17: struct with 32 pointer bytes could be 16
* client_test.go:18:13: struct with 56 pointer bytes could be 48
* client_test.go:62:13: struct with 56 pointer bytes could be 48
* cmd/kamusku-telegram-bot/main.go:31:3: declaration of "err" shadows
declaration at line 25
* kamusku_test.go:49:3: declaration of "err" shadows declaration at
line 38
[Analyzer]: https://pkg.go.dev/golang.org/x/tools/go/analysis#hdr-Analyzer
**💧 README: add section about development and license**
**💧 all: fix test due to missing testdata directory**
Diffstat (limited to 'go.mod')
| -rw-r--r-- | go.mod | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -3,20 +3,20 @@ module git.sr.ht/~shulhan/kamusku -go 1.23.4 +go 1.24.0 require ( - git.sr.ht/~shulhan/kbbi v0.1.1-0.20241213050244-4be4e6c13760 - git.sr.ht/~shulhan/pakakeh.go v0.60.1 + git.sr.ht/~shulhan/kbbi v0.2.0 + git.sr.ht/~shulhan/pakakeh.go v0.60.2 ) require ( - golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0 // indirect - golang.org/x/mod v0.24.0 // indirect - golang.org/x/net v0.39.0 // indirect - golang.org/x/sync v0.13.0 // indirect - golang.org/x/sys v0.32.0 // indirect - golang.org/x/tools v0.32.0 // indirect + golang.org/x/exp v0.0.0-20251219203646-944ab1f22d93 // indirect + golang.org/x/mod v0.31.0 // indirect + golang.org/x/net v0.48.0 // indirect + golang.org/x/sync v0.19.0 // indirect + golang.org/x/sys v0.39.0 // indirect + golang.org/x/tools v0.40.0 // indirect ) //replace git.sr.ht/~shulhan/kbbi => ../kbbi |
