package version
Import Path
internal/trace/version (on go.dev )
Dependency Relation
imports 3 packages , and imported by 5 packages
Package-Level Type Names (only one)
/* sort by: alphabet | popularity */
type Version uint32 (basic type)
Version represents the version of a trace file.
Methods (total 3 )
( Version) EventName (typ tracev2 .EventType ) string
EventName returns a string name of a wire format event
for a particular trace version.
( Version) Specs () []tracev2 .EventSpec
Specs returns the set of event.Specs for this version.
( Version) Valid () bool
As Outputs Of (at least 4 )
func ReadHeader (r io .Reader ) (Version , error )
func internal/trace/raw.(*Reader ).Version () Version
func internal/trace/raw.(*TextReader ).Version () Version
func internal/trace/testtrace.ParseFile (testPath string ) (io .Reader , Version , *testtrace .Expectation , error )
As Inputs Of (at least 6 )
func WriteHeader (w io .Writer , v Version ) (int , error )
func internal/trace/internal/testgen.Main (ver Version , f func(*testgen .Trace ))
func internal/trace/internal/testgen.NewTrace (ver Version ) *testgen .Trace
func internal/trace/internal/tracev1.Parse (r io .Reader , vers Version ) (tracev1 .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 )
As Types Of (total 7 )
const Current
const Go111
const Go119
const Go121
const Go122
const Go123
const Go125
Package-Level Functions (total 2)
Package-Level Constants (total 7)
The pages are generated with Golds v0.7.7-preview . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds .