*: run go1.19 'go fmt' on everything and fix problems (#3031)

Go 1.19 also formats doc comments according to the new godoc syntax.
Some of our comments, especially unexported symbols did not conform to
the godoc syntax and therefore are mangled by 'go fmt'.

This PR runs 'go fmt' from go1.19 on everything and manually fixes the
problems.

See also:
	https://github.com/golang/proposal/blob/master/design/51082-godocfmt.md
This commit is contained in:
Alessandro Arzilli
2022-06-17 19:08:11 +02:00
committed by GitHub
parent 2827145f1e
commit c412dcdc4f
22 changed files with 242 additions and 256 deletions

View File

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