A quick example for serving up static content using http.ServeFile for this blog post. To run this yourself, clone the repository, then go run main.go and open your browser to http://localhost:4300/files/good.txt.
DeanPDX/go-http-static-example
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|