github.com/arieschain/arieschain@v0.0.0-20191023063405-37c074544356/internal/debug/trace_fallback.go (about) 1 //+build !go1.5 2 3 // no-op implementation of tracing methods for Go < 1.5. 4 5 package debug 6 7 import "errors" 8 9 func (*HandlerT) StartGoTrace(string) error { 10 return errors.New("tracing is not supported on Go < 1.5") 11 } 12 13 func (*HandlerT) StopGoTrace() error { 14 return errors.New("tracing is not supported on Go < 1.5") 15 }