When I install this package with dep, error is thrown.
./main.go:20:39: cannot use "${my-package-path}/vendor/github.com/gin-contrib/cache".CachePage(store, 60 * time.Second, func literal) (type "${my-package-path}/vendor/gopkg.in/gin-gonic/gin.v1".HandlerFunc) as type "${my-package-path}/vendor/github.com/gin-gonic/gin".HandlerFunc in argument to router.RouterGroup.GET
./main.go:20:65: cannot use func literal (type func(*"${my-package-path}/vendor/github.com/gin-gonic/gin".Context)) as type "${my-package-path}/vendor/gopkg.in/gin-gonic/gin.v1".HandlerFunc in argument to "${my-package-path}/vendor/github.com/gin-contrib/cache".CachePage
When I install this package with dep, error is thrown.