1
0
mirror of https://github.com/juanfont/headscale.git synced 2026-02-23 13:50:36 +01:00
juanfont.headscale/hscontrol/util
Kristoffer Dalby 43afeedde2 all: apply golangci-lint 2.9.0 fixes
Fix issues found by the upgraded golangci-lint:
- wsl_v5: add required whitespace in CLI files
- staticcheck SA4006: replace new(var.Field) with &localVar
  pattern since staticcheck does not recognize Go 1.26
  new(value) as a use of the variable
- staticcheck SA5011: use t.Fatal instead of t.Error for
  nil guard checks so execution stops
- unused: remove dead ptrTo helper function
2026-02-19 08:21:23 +01:00
..
zlog hscontrol/util/zlog/zf: add tag, authkey, and route constants 2026-02-06 07:40:29 +01:00
addr_test.go all: fix golangci-lint issues (#3064) 2026-02-06 21:45:32 +01:00
addr.go all: fix golangci-lint issues (#3064) 2026-02-06 21:45:32 +01:00
const.go Split code into modules 2023-05-26 12:24:50 +02:00
dns_test.go all: fix golangci-lint issues (#3064) 2026-02-06 21:45:32 +01:00
dns.go all: fix golangci-lint issues (#3064) 2026-02-06 21:45:32 +01:00
file.go all: fix golangci-lint issues (#3064) 2026-02-06 21:45:32 +01:00
key.go errors: rewrite errors to follow go best practices 2026-02-06 07:40:29 +01:00
log.go all: fix golangci-lint issues (#3064) 2026-02-06 21:45:32 +01:00
net.go integration: replace time.Sleep with assert.EventuallyWithT (#2680) 2025-07-10 23:38:55 +02:00
prompt_test.go all: fix golangci-lint issues (#3064) 2026-02-06 21:45:32 +01:00
prompt.go all: fix golangci-lint issues (#3064) 2026-02-06 21:45:32 +01:00
string_test.go allow users to be defined with @ in v1 (#2495) 2025-03-30 11:19:05 +00:00
string.go all: fix golangci-lint issues (#3064) 2026-02-06 21:45:32 +01:00
test.go all: upgrade to Go 1.26rc2 and modernize codebase 2026-02-08 12:35:23 +01:00
util_test.go all: apply golangci-lint 2.9.0 fixes 2026-02-19 08:21:23 +01:00
util.go all: fix golangci-lint issues (#3064) 2026-02-06 21:45:32 +01:00