1
0
mirror of https://github.com/DataDog/go-profiler-notes.git synced 2025-07-15 23:54:16 +02:00
Files
Felix Geisendörfer 7a7b1562e9 more examples
2021-05-24 11:49:30 +02:00

24 lines
207 B
Go

package main
import (
"fmt"
)
func main() {
foo()
foobar()
}
func foo() {
bar()
}
func bar() {
fmt.Printf("Hello from bar\n")
panic("oh no")
}
func foobar() {
fmt.Printf("Hello from foobar\n")
}