1 2 3 4 5
package main import "net/http" func main() { panic(http.ListenAndServe(":8080", http.FileServer(http.Dir(".")))) }