// PlusBuildSyntaxSupported reports whether the current Go version supports the // "// +build" constraint syntax. func PlusBuildSyntaxSupported() bool { … } // GoBuildSyntaxSupported reports whether the current Go version supports the // "//go:build" constraint syntax. func GoBuildSyntaxSupported() bool { … } // Format constraints according to the syntax supported by the current Go version. func Format(t ConstraintsConvertable) (string, error) { … }