src/cmd/api/boring_test.go GO 18 lines View on github.com → Search inside
1// Copyright 2022 The Go Authors. All rights reserved.2// Use of this source code is governed by a BSD-style3// license that can be found in the LICENSE file.45//go:build boringcrypto67package main89import (10	"fmt"11	"os"12)1314func init() {15	fmt.Printf("SKIP with boringcrypto enabled\n")16	os.Exit(0)17}

Code quality findings 2

Hidden side effects; favor explicit initialization in main() or functions
info correctness func-init
func init() {
Formatted output to console; prefer structured logging for consistency
info correctness fmt-printf
fmt.Printf("SKIP with boringcrypto enabled\n")

Get this view in your editor

Same data, no extra tab — call code_get_file + code_get_findings over MCP from Claude/Cursor/Copilot.