Go

Go

Made by DeepSource

Duplicate build constraints SCC-SA4019

Anti-pattern
Major
Autofix

Multiple, identical build constraints in the same file.

Bad practice

//go:build linux || darwin || linux
package main

func main() {
}

Recommended

//go:build linux || darwin
package main

func main() {
}