Skip to content

run go fmt & go mod tidy on project#411

Merged
ugorji merged 2 commits intougorji:masterfrom
andrewwormald:andreww-runGoFmtOnRepo
Apr 25, 2025
Merged

run go fmt & go mod tidy on project#411
ugorji merged 2 commits intougorji:masterfrom
andrewwormald:andreww-runGoFmtOnRepo

Conversation

@andrewwormald
Copy link
Contributor

@andrewwormald andrewwormald commented Dec 13, 2024

Checksum mismatches can occur when go fmt is run on the package. This is purely to align with go fmt by running go fmt . and go mod tidy with nothing else done.

verifying github.com/ugorji/go/codec@v1.1.7: checksum mismatch
	downloaded: h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs=
	go.sum:     h1:zVRFvIPbjpIMl2pf6vLXZTYXTo13zccQOe/LjQ3dqP8=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

@andrewwormald
Copy link
Contributor Author

I have verified that this occurs on quite a few different machines using the Goland IDE.

@andrewwormald andrewwormald changed the title run go fmt on project run go fmt & go mod tidy on project Dec 13, 2024
@andrewwormald
Copy link
Contributor Author

@ugorji would you mind reviewing this as the issue persists?

@ugorji ugorji merged commit eebe73e into ugorji:master Apr 25, 2025
@andrewwormald andrewwormald deleted the andreww-runGoFmtOnRepo branch April 25, 2025 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments