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

can't use。 #88

Closed
springeye opened this issue Aug 25, 2017 · 1 comment
Closed

can't use。 #88

springeye opened this issue Aug 25, 2017 · 1 comment

Comments

@springeye
Copy link

1

.\main.go:50: cannot use Authenticator (type func(string, string, *"j99.io/app/cloud_token_api/vendor/github.com/gin-gonic/gin".Context) (string, bool)) as type func(string, string, *"github.com/gin-gonic/gin".Context) (string, bool) in field value
.\main.go:51: cannot use Authorizator (type func(string, *"j99.io/app/cloud_token_api/vendor/github.com/gin-gonic/gin".Context) bool) as type func(string, *"github.com/gin-gonic/gin".Context) bool in field value
.\main.go:52: cannot use Unauthorized (type func(*"j99.io/app/cloud_token_api/vendor/github.com/gin-gonic/gin".Context, int, string)) as type func(*"github.com/gin-gonic/gin".Context, int, string) in field value
.\main.go:81: cannot use authMiddleware.LoginHandler (type func(*"github.com/gin-gonic/gin".Context)) as type "j99.io/app/cloud_token_api/vendor/github.com/gin-gonic/gin".HandlerFunc in argument to app.RouterGroup.POST
@springeye
Copy link
Author

sorry,Because of the problems of gopath and govendor

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

1 participant