package version
import "golang.org/x/exp/trace/internal/version"
Index ¶
Functions ¶
func WriteHeader ¶
WriteHeader writes a header for a trace version v to w.
Types ¶
type Version ¶
type Version uint32
Version represents the version of a trace file.
const ( Go111 Version = 11 Go119 Version = 19 Go121 Version = 21 Go122 Version = 22 Go123 Version = 23 Current = Go123 )
func ReadHeader ¶
ReadHeader reads the version of the trace out of the trace file's header, whose prefix must be present in v.
func (Version) Specs ¶
Specs returns the set of event.Specs for this version.
func (Version) Valid ¶
Source Files ¶
version.go
- Version
- v0.0.0-20250408133849-7e4ce0ab07d0 (latest)
- Published
- Apr 8, 2025
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 2 days ago –
Tools for package owners.