google / go-safeweb

Secure-by-default HTTP servers in Go.
Apache License 2.0
1.43k stars 81 forks source link

Make "copyright" CI action pass #356

Closed bsiegert closed 1 year ago

bsiegert commented 1 year ago

This is purely a whitespace change.

Part of the copyright header is a line of the form //<space><tab>URL Putting spaces before tabs is a mistake from a typographical point of view. gofmt seems to agree and occasionally removes the space when rewriting a file. This makes it impossible to get the "gofmt" and "copyright" linters passing at the same time.

Let's fix this for good by removing the extra space across the codebase.

bsiegert commented 1 year ago

I think this will fix #330 for good.