github.com/Rookout/GoSDK@v0.1.48/pkg/services/callstack/callstack_unsupported_versions.go (about)

     1  //go:build (!amd64 && !arm64) || !go1.15 || go1.22
     2  // +build !amd64,!arm64 !go1.15 go1.22
     3  
     4  package callstack
     5  
     6  func (s *StackTraceBuffer) FillStackTraces() (int, bool) {
     7  	callstackStubPanic()
     8  	return 0, false
     9  }
    10  
    11  func callstackStubPanic() {
    12  	panic("Callstack doesn't support this go version!!!!")
    13  }