From 273890421b31aa7b43d778e4da3de16659e77d73 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 17 Aug 2022 20:26:52 -0600 Subject: tools: Upgrade to Go 1.19 1. Edit Makefile:goversion 2. Run `make go-mod-tidy` 3. Run `gofmt -s -w .` 4. Look at the ignore-whitespace-change diff and fixup band gofmt changes --- lib/fmtutil/fmt.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lib/fmtutil') diff --git a/lib/fmtutil/fmt.go b/lib/fmtutil/fmt.go index a45ac58..3898046 100644 --- a/lib/fmtutil/fmt.go +++ b/lib/fmtutil/fmt.go @@ -37,15 +37,15 @@ func FmtStateString(st fmt.State, verb rune) string { // fmt.Formatter for []byte or [n]byte types that have a custom string // representation. Use it like: // -// type MyType [16]byte +// type MyType [16]byte // -// func (val MyType) String() string { -// … -// } +// func (val MyType) String() string { +// … +// } // -// func (val MyType) Format(f fmt.State, verb rune) { -// util.FormatByteArrayStringer(val, val[:], f, verb) -// } +// func (val MyType) Format(f fmt.State, verb rune) { +// util.FormatByteArrayStringer(val, val[:], f, verb) +// } func FormatByteArrayStringer( obj interface { fmt.Stringer -- cgit v1.2.3-2-g168b