2 ms·
Okay ... here is that code: import net/http func main() { http.ListenAndServe(":8080",http.FileServer(http.Dir("."))) } Oh and in python: "
by spwa4 8mo 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" ...