Open Tianyaxiaoxiaosheng opened 4 years ago
github.com\betacraft\yaag@v1.0.0\irisyaag\middleware.go import中将 "github.com/kataras/iris/context" 改为 "github.com/kataras/iris/v12/context"
把go.mod中的yaag的版本号换成最新的commit id 拉取最新版本
@Tianyaxiaoxiaosheng @toujourser @Ostaer Try go get -u github.com/betacraft/yaag@master
in your current project's directory, it should be working. The test and example do, take a look at: examples/iris/main.go.
cannot use irisyaag.New() (type "github.com/kataras/iris/context".Handler) as type "github.com/kataras/iris/v12/context".Handler in argument to api.APIBuilder.Use