func callers(skip int) []uintptr { … } func printStack(w io.Writer, stack []uintptr) { … } var fileSources … // Reads source file lines from disk if not cached already. func getSourceLines(file string) [][]byte { … } func code(file string, line int) string { … } // Stacktraces for all goroutines. func stacks() []byte { … }