func main() { w := 6 http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { b := "toast" fmt.Fprintf(w, "Hello, %q", html.EscapeString(r.URL.Path)) pry.Pry() _ = b }) pry.Pry() log.Fatal(http.ListenAndServe(":8080", nil)) _ = w }
func main() { a := 1 b := Banana{"Jeoffry", []int{1, 2, 3}} m := []int{1234} _ = m testMake := make(chan int, 1) testMap := map[int]interface{}{ 1: 2, 3: "asdf", 5: []interface{}{ 1, "asdf", }, } _ = testMap go func() { _ = 1 + 1*1/1%1 }() if d := X(); d { log.Println(d) for i, j := range []int{1} { k := 1 log.Println(i, j, k) // Example comment pry.Pry() } } log.Println("Test", a, b, main, testMake) }
func main() { testMap := map[string]int{ "duck": 1, "blue": 2, "5": 0xDEAD, } for k, v := range testMap { fmt.Println(k, v) } pry.Pry() }
func main() { c := make(chan bool) go func() { prying() pry.Pry() c <- true }() <-c for { time.Sleep(time.Second) } }
func main() { a := 1 pry.Pry() }
func main() { a := math.Sin(10.0) pry.Pry() _ = a }
func main() { for i := 0; i < 10; i++ { pry.Pry() } fmt.Println("DUCK") }
func main() { a := filepath.Base("/asdf/asdf") pry.Pry() os.Setenv("foo", "bar") _ = a }