build: apply gofmt from golang 1.17

This commit is contained in:
Ivan Andreev
2021-09-09 15:25:25 +03:00
parent 2bc2546d5c
commit 24de896df2
178 changed files with 223 additions and 56 deletions

View File

@@ -1,4 +1,5 @@
//+build windows plan9
//go:build windows || plan9
// +build windows plan9
package atexit

View File

@@ -1,4 +1,5 @@
//+build !windows,!plan9
//go:build !windows && !plan9
// +build !windows,!plan9
package atexit

View File

@@ -1,3 +1,4 @@
//go:build cgo
// +build cgo
package buildinfo

View File

@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package buildinfo

View File

@@ -1,4 +1,5 @@
//+build gofuzz
//go:build gofuzz
// +build gofuzz
package filename

View File

@@ -1,4 +1,5 @@
//+build ignore
//go:build ignore
// +build ignore
package main

View File

@@ -1,4 +1,5 @@
//+build darwin
//go:build darwin
// +build darwin
package encoder

View File

@@ -1,4 +1,5 @@
//+build !windows,!darwin
//go:build !windows && !darwin
// +build !windows,!darwin
package encoder

View File

@@ -1,4 +1,5 @@
//+build windows
//go:build windows
// +build windows
package encoder

View File

@@ -1,4 +1,5 @@
//+build !windows
//go:build !windows
// +build !windows
package file

View File

@@ -1,4 +1,5 @@
//+build windows
//go:build windows
// +build windows
package file

View File

@@ -1,4 +1,5 @@
//+build !windows
//go:build !windows
// +build !windows
package file

View File

@@ -1,4 +1,5 @@
//+build windows
//go:build windows
// +build windows
package file

View File

@@ -1,4 +1,5 @@
//+build !windows,!linux
//go:build !windows && !linux
// +build !windows,!linux
package file

View File

@@ -1,4 +1,5 @@
//+build linux
//go:build linux
// +build linux
package file

View File

@@ -1,4 +1,5 @@
//+build windows
//go:build windows
// +build windows
package file

View File

@@ -1,4 +1,5 @@
//+build !windows
//go:build !windows
// +build !windows
package file

View File

@@ -1,4 +1,5 @@
//+build windows
//go:build windows
// +build windows
package file

View File

@@ -1,4 +1,5 @@
//+build windows
//go:build windows
// +build windows
package file

View File

@@ -1,3 +1,4 @@
//go:build race
// +build race
// Package israce reports if the Go race detector is enabled.

View File

@@ -1,3 +1,4 @@
//go:build !race
// +build !race
// Package israce reports if the Go race detector is enabled.

View File

@@ -1,6 +1,7 @@
// Package mmap implements a large block memory allocator using
// anonymous memory maps.
//go:build !plan9 && !windows && !js
// +build !plan9,!windows,!js
package mmap

View File

@@ -1,5 +1,6 @@
// Fallback Alloc and Free for unsupported OSes
//go:build plan9 || js
// +build plan9 js
package mmap

View File

@@ -1,6 +1,7 @@
// Package mmap implements a large block memory allocator using
// anonymous memory maps.
//go:build windows
// +build windows
package mmap

View File

@@ -1,3 +1,4 @@
//go:build (darwin || linux) && !gccgo
// +build darwin linux
// +build !gccgo

View File

@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package terminal

View File

@@ -1,3 +1,4 @@
//go:build windows
// +build windows
package terminal

View File

@@ -1,4 +1,5 @@
//+build !js
//go:build !js
// +build !js
package terminal

View File

@@ -1,4 +1,5 @@
//+build js
//go:build js
// +build js
package terminal