Lint: lint and fix src/{os,reflect} (#4228)

* lint: expand to src/{os,reflect}, fix or suppress what it found

* internal/tools/tools.go: the tools idiom requires a build tag guard to avoid go test complaints
This commit is contained in:
dkegel-fastly
2024-04-22 11:10:13 -07:00
committed by GitHub
parent 1154212c15
commit 3d433fe9f1
7 changed files with 20 additions and 10 deletions
+1
View File
@@ -310,6 +310,7 @@ func (e *LinkError) Unwrap() error {
return e.Err
}
// OpenFile flag values.
const (
O_RDONLY int = syscall.O_RDONLY
O_WRONLY int = syscall.O_WRONLY