1 /* 2 3 Package goroutine discovers and returns information about either all goroutines 4 or only the caller's goroutine. Information provided by the Goroutine type 5 consists of a unique ID, the state, the name of the topmost (most recent) 6 function in the call stack and the full backtrace. For goroutines other than the 7 main goroutine (the one with ID 1) the creating function as well as location 8 (file name and line number) are additionally provided. 9 10 */ 11 package goroutine 12