summaryrefslogtreecommitdiffhomepage
path: root/vendor/golang.org/x/tools/internal/versions/toolchain_go120.go
blob: 1a9efa126cdfc7ffd49b03280192e02d027c7e95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2024 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build go1.20
// +build go1.20

package versions

func init() {
	if Compare(toolchain, Go1_20) < 0 {
		toolchain = Go1_20
	}
}