summaryrefslogtreecommitdiffhomepage
path: root/vendor/golang.org/x/tools/internal/versions/toolchain_go121.go
blob: b7ef216dfecf0b250c6679d12d0486c52e1a59fe (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.21
// +build go1.21

package versions

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