Hacker News new | ask | show | jobs
by spwa4 86 days ago
Okay ... here is that code:

    import net/http

    func main() {
      http.ListenAndServe(":8080",http.FileServer(http.Dir(".")))
    }
Oh and in python: "python3 -m http.server" ...