package version

Import Path
	internal/trace/version (on go.dev)

Dependency Relation
	imports 4 packages, and imported by 4 packages

Involved Source Files version.go
Package-Level Type Names (only one)
/* sort by: | */
Version represents the version of a trace file. Specs returns the set of event.Specs for this version. ( Version) Valid() bool func ReadHeader(r io.Reader) (Version, error) func internal/trace/raw.(*Reader).Version() Version func internal/trace/raw.(*TextReader).Version() Version func WriteHeader(w io.Writer, v Version) (int, error) func internal/trace/internal/oldtrace.Parse(r io.Reader, vers Version) (oldtrace.Trace, error) func internal/trace/raw.NewTextWriter(w io.Writer, v Version) (*raw.TextWriter, error) func internal/trace/raw.NewWriter(w io.Writer, v Version) (*raw.Writer, error) const Current const Go111 const Go119 const Go121 const Go122 const Go123
Package-Level Functions (total 2)
ReadHeader reads the version of the trace out of the trace file's header, whose prefix must be present in v.
WriteHeader writes a header for a trace version v to w.
Package-Level Constants (total 6)
const Current Version = 23
const Go111 Version = 11
const Go119 Version = 19
const Go121 Version = 21
const Go122 Version = 22
const Go123 Version = 23