1 | // Copyright 2021 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.18 |
6 | // +build go1.18 |
7 | |
8 | package typesinternal |
9 | |
10 | import ( |
11 | "go/types" |
12 | ) |
13 | |
14 | func init() { |
15 | SetGoVersion = func(conf *types.Config, version string) bool { |
16 | conf.GoVersion = version |
17 | return true |
18 | } |
19 | } |
20 |
Members