| 1 | // Copyright 2025 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 | // Code generated by "gen.bash" from internal/trace; DO NOT EDIT. |
| 6 | |
| 7 | //go:build go1.23 |
| 8 | |
| 9 | package trace |
| 10 | |
| 11 | import "golang.org/x/exp/trace/internal/version" |
| 12 | |
| 13 | // GoVersion is the version set in the trace header. |
| 14 | func (r *Reader) GoVersion() version.Version { |
| 15 | return r.version |
| 16 | } |