Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A simple server in Go
package main
import "net/http"
func main() {
panic(http.ListenAndServe(":8080", http.FileServer(http.Dir("/File/Folder/Path"))))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment