Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Commit

Permalink
support go1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
huandu committed Apr 20, 2017
1 parent 4eca2a2 commit 67af9b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions info.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 67af9b4

Please sign in to comment.