Source file src/cmd/vendor/golang.org/x/tools/internal/versions/toolchain_go120.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  //go:build go1.20
     6  // +build go1.20
     7  
     8  package versions
     9  
    10  func init() {
    11  	if Compare(toolchain, Go1_20) < 0 {
    12  		toolchain = Go1_20
    13  	}
    14  }
    15  

View as plain text