You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: main.go
    path of file: ./repos/iris/_examples/recover
    
    the code of the file until where you have to start completion: package main

import (
	"github.com/kataras/iris/v12"

	"github.com/kataras/iris/v12/middleware/recover"
)

func main() {
	app := iris.New()
	app.Use(recover.New())

	i := 0
	// let's simulate a panic every next request
	app.Get("/", func(ctx iris.Context) {
		i++

    
func main() {
	app := iris.New()
	app.Use(recover.New())

	i := 0
	// let's simulate a panic every next request
	app.Get("/", func(ctx iris.Context) {
		i++
		if i%2 == 0 {
			panic("a panic here")
		}
		ctx.Writef("Hello, refresh one time more to get panic!")
	})

	// http://localhost:8080, refresh it 5-6 times.
	app.Listen(":8080")
}