golang.org/x/build@v0.0.0-20240506185731-218518f32b70/cmd/greplogs/_embed/broken.go (about)

     1  // Copyright 2022 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Command broken lists the current Go builders with known issues.
     6  //
     7  // To test this program, cd to its directory and run:
     8  //
     9  //	go mod init
    10  //	go get golang.org/x/build/dashboard@HEAD
    11  //	go run .
    12  //	rm go.mod go.sum
    13  package main
    14  
    15  import (
    16  	"fmt"
    17  
    18  	"golang.org/x/build/dashboard"
    19  )
    20  
    21  func main() {
    22  	for _, b := range dashboard.Builders {
    23  		if len(b.KnownIssues) > 0 {
    24  			fmt.Println(b.Name)
    25  		}
    26  	}
    27  }