Reform Code to Fix CI's Debian Target Breakage
fix #40167 (closed)
Something changed about formatting documentation between Go 1.18 and 1.19, and both can't seem to be happy at the same time. This makes use of the newer formatting, while disabling formatting check on older versions.
Edit: Original title was "don't check formating on older go version"
Edited by shelikhoo