1
0
mirror of https://github.com/juanfont/headscale.git synced 2026-02-07 20:04:00 +01:00
juanfont.headscale/cmd/headscale/cli
Kristoffer Dalby f068ed49b4 all: apply golangci-lint fixes
Run golangci-lint --fix and manually correct the resulting compilation
errors where := was incorrectly used instead of = for already-declared
variables.

Also fix lint issues:
- Use static errors instead of dynamic errors.New() (err113)
- Define constants for magic numbers (mnd)
- Use http.NewRequestWithContext instead of http.NewRequest (noctx)
2026-02-06 06:54:44 +00:00
..
api_key.go cli: add --id flag to API key expire/delete commands 2026-01-20 17:13:38 +01:00
configtest.go all: use lowercase log messages 2026-02-06 07:40:29 +01:00
debug.go all: apply golangci-lint fixes 2026-02-06 06:54:44 +00:00
dump_config.go add integration test for headscale -c 2022-06-05 23:13:58 +08:00
generate.go feat(aliases): add 'gen' alias for 'generate' command 2022-03-02 14:29:33 +10:00
health.go add health command (#2659) 2025-10-16 12:00:11 +00:00
mockoidc.go all: apply golangci-lint fixes 2026-02-06 06:54:44 +00:00
nodes.go all: apply golangci-lint fixes 2026-02-06 06:54:44 +00:00
policy.go all: apply golangci-lint fixes 2026-02-06 06:54:44 +00:00
preauthkeys.go Remove trace log for preauthkeys create 2026-01-23 08:40:09 +01:00
pterm_style.go
root_test.go cli: do not show new pre-releases on stable (#2813) 2025-10-24 13:15:53 +02:00
root.go all: apply golangci-lint fixes 2026-02-06 06:54:44 +00:00
serve.go all: use lowercase log messages 2026-02-06 07:40:29 +01:00
users.go all: apply golangci-lint fixes 2026-02-06 06:54:44 +00:00
utils.go all: apply golangci-lint fixes 2026-02-06 06:54:44 +00:00
version.go cli: use gobuild version handling (#2770) 2025-09-12 11:47:31 +02:00