main.go
package main
import (
"log"
"github.com/goa-go/goa"
"github.com/goa-go/logger"
)
func main() {
app := goa.New()
app.Use(logger.New())
log.Fatal(app.Listen(":3000"))
}
go run main.go
go\pkg\mod\github.com\goa-go\[email protected]\logger.go:22:9: cannot use func literal (type func(*goa.Context, func())) as type goa.
Middleware in return argument