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
+2 -2
View File
@@ -5,8 +5,8 @@
package os
const (
PathSeparator = '\\' // OS-specific path separator
PathListSeparator = ';' // OS-specific path list separator
PathSeparator = '\\' // PathSeparator is the OS-specific path separator
PathListSeparator = ';' // PathListSeparator is the OS-specific path list separator
)
// IsPathSeparator reports whether c is a directory separator character.