In my handler I want to return a single webpage.

But when using http.ServeFile, the images on the page aren't rendered.
https://golang.org/pkg/net/http/#ServeFile

And using http.FileServer, returns a handler that renders an entire 
directory (and children)
https://golang.org/pkg/net/http/#FileServer

How would I respond back with a single webpage and all its images, js and 
css?
Also the images, js and css are in different folders.





-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to