...

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

Documentation: cmd/vendor/golang.org/x/tools/internal/versions

     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  //go:build go1.21
     6  // +build go1.21
     7  
     8  package versions
     9  
    10  func init() {
    11  	if Compare(toolchain, Go1_21) < 0 {
    12  		toolchain = Go1_21
    13  	}
    14  }
    15  

View as plain text