tailscale/atomicfile
Andrew Dunham 280255acae
various: add golangci-lint, fix issues (#7905)
This adds an initial and intentionally minimal configuration for
golang-ci, fixes the issues reported, and adds a GitHub Action to check
new pull requests against this linter configuration.

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I8f38fbc315836a19a094d0d3e986758b9313f163
2023-04-17 18:38:24 -04:00
..
atomicfile_test.go various: add golangci-lint, fix issues (#7905) 2023-04-17 18:38:24 -04:00
atomicfile.go atomicfile: reject overwriting irregular files 2023-03-31 13:29:52 -07:00