src/internal/trace/export_reader_test.go
raw| 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 | package trace |
| 6 | |
| 7 | import "internal/trace/version" |
| 8 | |
| 9 | // GoVersion is the version set in the trace header. |
| 10 | func (r *Reader) GoVersion() version.Version { |
| 11 | return r.version |
| 12 | } |