package main
import (
"fmt"
"log"
"net/http"
)
func main() {
fmt.Printf("starting ...n")
// Simple static webserver:
log.Fatal(http.ListenAndServe(":8080",
http.FileServer(http.Dir("."))))
}
Haha. #golang
package main
import (
"fmt"
"log"
"net/http"
)
func main() {
fmt.Printf("starting ...n")
// Simple static webserver:
log.Fatal(http.ListenAndServe(":8080",
http.FileServer(http.Dir("."))))
}
Haha. #golang