build: run gofmt on all go source files

Go 1.19 will forecefully format all your doc strings. To get this
out of the way, here is one big commit with all the changes gofmt
wants to make.
This commit is contained in:
Seth Hoenig
2022-08-16 09:06:30 -05:00
parent aebd61f5c5
commit 0c62f445c3
65 changed files with 349 additions and 352 deletions

View File

@@ -82,8 +82,9 @@ func TestAllocDir_BuildAlloc(t *testing.T) {
}
// HACK: This function is copy/pasted from client.testutil to prevent a test
// import cycle, due to testutil transitively importing allocdir. This
// should be fixed after DriverManager is implemented.
//
// import cycle, due to testutil transitively importing allocdir. This
// should be fixed after DriverManager is implemented.
func MountCompatible(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("Windows does not support mount")