Open vit1251 opened 7 years ago
If I was starting a new Go project, I'd probably use https://github.com/julienschmidt/httprouter
That point aside, there's no special way to handle static files. Set up a route and maybe io.Copy from the an os.Open(path), to the response writer.
I can not find a static file handler like in httprequests.