Source file src/cmd/vendor/golang.org/x/tools/internal/versions/constraint.go

     1  // Copyright 2024 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  package versions
     6  
     7  import "go/build/constraint"
     8  
     9  // ConstraintGoVersion is constraint.GoVersion (if built with go1.21+).
    10  // Otherwise nil.
    11  //
    12  // Deprecate once x/tools is after go1.21.
    13  var ConstraintGoVersion func(x constraint.Expr) string
    14  

View as plain text