diff --git a/info.go b/info.go index 4db34ed..9a96e0e 100644 --- a/info.go +++ b/info.go @@ -65,6 +65,8 @@ func GoroutineId() int64 { return (*runtime1_7_5.Goroutine)(gp).Goid() case _GO_VERSION1_8: return (*runtime1_8.Goroutine)(gp).Goid() + case _GO_VERSION1_8_1: + return (*runtime1_8_1.Goroutine)(gp).Goid() default: panic("unsupported go version " + goVersion().String())