Closed beebzz closed 2 years ago
As of Go 1.18, dependencies such as goimports need to be installed via go install instead of go get (reference)
go install
go get
Also adjusts the goimports rule to run go mod tidy immediately after goimports
go mod tidy
goimports
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 0 Code Smells
No Coverage information No Duplication information
As of Go 1.18, dependencies such as goimports need to be installed via
go install
instead ofgo get
(reference)Also adjusts the goimports rule to run
go mod tidy
immediately aftergoimports