Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot use irisyaag.New() #60

Open
Tianyaxiaoxiaosheng opened this issue Nov 12, 2019 · 3 comments
Open

cannot use irisyaag.New() #60

Tianyaxiaoxiaosheng opened this issue Nov 12, 2019 · 3 comments

Comments

@Tianyaxiaoxiaosheng
Copy link

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

@toujourser
Copy link

github.com\betacraft\[email protected]\irisyaag\middleware.go
import中将 "github.com/kataras/iris/context" 改为 "github.com/kataras/iris/v12/context"

@Ostaer
Copy link

Ostaer commented Feb 17, 2020

把go.mod中的yaag的版本号换成最新的commit id
拉取最新版本

@kataras
Copy link
Contributor

kataras commented Jul 19, 2020

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants