github.com/neatlab/neatio@v1.7.3-0.20220425043230-d903e92fcc75/internal/debug/trace_fallback.go (about) 1 //go:build !go1.5 2 // +build !go1.5 3 4 package debug 5 6 import "errors" 7 8 func (*HandlerT) StartGoTrace(string) error { 9 return errors.New("tracing is not supported on Go < 1.5") 10 } 11 12 func (*HandlerT) StopGoTrace() error { 13 return errors.New("tracing is not supported on Go < 1.5") 14 }