()
| 16 | ) |
| 17 | |
| 18 | func ExampleSnapshotHandler() { |
| 19 | http.HandleFunc("/debug/panicparse", webstack.SnapshotHandler) |
| 20 | |
| 21 | // Access as http://localhost:6060/debug/panicparse |
| 22 | log.Println(http.ListenAndServe("localhost:6060", nil)) |
| 23 | } |
| 24 | |
| 25 | func ExampleSnapshotHandler_complex() { |
| 26 | // This example does a few things: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…