[PR #10] [MERGED] Linter warnings #1193

Closed
opened 2025-12-29 02:29:10 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/10
Author: @cure
Created: 4/24/2021
Status: Merged
Merged: 4/25/2021
Merged by: @juanfont

Base: mainHead: linter-warnings


📝 Commits (2)

  • f7b6c68 Address a bunch of golint warnings.
  • f7c7b48 Address a bunch of golangci-lint warnings.

📊 Changes

10 files changed (+59 additions, -33 deletions)

View changed files

📝 api.go (+9 -4)
📝 app.go (+1 -1)
📝 cli.go (+4 -13)
📝 cmd/headscale/headscale.go (+2 -2)
📝 db.go (+3 -3)
📝 go.mod (+10 -0)
📝 go.sum (+24 -10)
📝 machine.go (+2 -0)
📝 namespaces.go (+1 -0)
📝 preauth_keys.go (+3 -0)

📄 Description

This branch addresses linter warnings from golint and golangci-lint.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/10 **Author:** [@cure](https://github.com/cure) **Created:** 4/24/2021 **Status:** ✅ Merged **Merged:** 4/25/2021 **Merged by:** [@juanfont](https://github.com/juanfont) **Base:** `main` ← **Head:** `linter-warnings` --- ### 📝 Commits (2) - [`f7b6c68`](https://github.com/juanfont/headscale/commit/f7b6c68d22efc6315a85289623711aaa24f8ba1a) Address a bunch of golint warnings. - [`f7c7b48`](https://github.com/juanfont/headscale/commit/f7c7b4873a924ec54a30736f02154ba0e666003d) Address a bunch of golangci-lint warnings. ### 📊 Changes **10 files changed** (+59 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `api.go` (+9 -4) 📝 `app.go` (+1 -1) 📝 `cli.go` (+4 -13) 📝 `cmd/headscale/headscale.go` (+2 -2) 📝 `db.go` (+3 -3) 📝 `go.mod` (+10 -0) 📝 `go.sum` (+24 -10) 📝 `machine.go` (+2 -0) 📝 `namespaces.go` (+1 -0) 📝 `preauth_keys.go` (+3 -0) </details> ### 📄 Description This branch addresses linter warnings from golint and golangci-lint. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:29:10 +01:00
adam closed this issue 2025-12-29 02:29:11 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1193