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

Value not found for type render.Render #43

Open
hsdk123 opened this issue Nov 13, 2014 · 4 comments
Open

Value not found for type render.Render #43

hsdk123 opened this issue Nov 13, 2014 · 4 comments

Comments

@hsdk123
Copy link

hsdk123 commented Nov 13, 2014

I get the error "Value not found for type render.Render"
if I import using
"github.com/martini-contrib/render",
while I don't get it upon using
"github.com/codegangsta/martini-contrib/render"

I notice that the files in "github.com/codegangsta/martini-contrib/render" are rather old (not having render.Header(), etc.) and hence I want to use the files from this repository, but I'm getting the error upon using the files here.

@yesnault
Copy link

"github.com/codegangsta/martini-contrib/render" is deprecated

Just call m.Use(render.Renderer())

@rkoster
Copy link

rkoster commented May 6, 2015

I can confirm that using m.Use(render.Renderer() fixed the above issue.

@madhums
Copy link

madhums commented Jul 20, 2015

I can confirm too, m.Use(render.Renderer()) works.

@sergeyklay
Copy link

@yesnault You make my day

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

5 participants