HTTP reverse proxy for Tailscale

use golangci-lint v2

+47 -33
+47
.golangci.yaml
··· 1 + version: "2" 2 + 3 + run: 4 + modules-download-mode: readonly 5 + 6 + output: 7 + formats: 8 + text: 9 + color: true 10 + path: stdout 11 + 12 + linters-settings: 13 + 14 + linters: 15 + enable: 16 + - errcheck 17 + - revive 18 + - govet 19 + - misspell 20 + - unused 21 + - unparam 22 + - staticcheck 23 + - nilerr 24 + - usetesting 25 + - thelper 26 + - bodyclose 27 + exclusions: 28 + presets: 29 + - comments 30 + - common-false-positives 31 + - legacy 32 + - std-error-handling 33 + settings: 34 + revive: 35 + rules: 36 + - name: package-comments 37 + disabled: true 38 + errcheck: 39 + exclude-functions: 40 + 41 + formatters: 42 + enable: 43 + - goimports 44 + - gofumpt 45 + settings: 46 + gofumpt: 47 + extra-rules: true
-33
golangci.yaml
··· 1 - run: 2 - modules-download-mode: readonly 3 - 4 - output: 5 - format: colored-line-number 6 - sort-results: true 7 - 8 - linters-settings: 9 - gofumpt: 10 - extra-rules: true 11 - sloglint: 12 - attr-only: true 13 - static-msg: true 14 - 15 - linters: 16 - enable: 17 - - errcheck 18 - - revive 19 - - goimports 20 - - govet 21 - - misspell 22 - - unused 23 - - unparam 24 - - staticcheck 25 - - gosimple 26 - - stylecheck 27 - - sloglint 28 - - gofumpt 29 - - nilerr 30 - - paralleltest 31 - - tenv 32 - - thelper 33 - - bodyclose