package main
import "github.com/micro/go-micro/web"
import "github.com/kataras/iris/v12"
// [...]
app := iris.New()
// [app.Handle/Get/Post...]
app.Build() // <--- HERE
service := web.NewService(web.Name("go.micro.api.name"))
service.Init()
service.Handle("/", app) // <--- HERE
service.Run()