package version
import "internal/trace/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
- v1.23.5
- Published
- Jan 10, 2025
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 6 seconds ago –
Tools for package owners.