blob: b8cccce41c63936d38fd36d1898c696d7515ffc3 [file] [log] [blame]
// +build OMIT
package main
import (
"fmt"
"log"
"net/http"
)
func handler(w http.ResponseWriter, r *http.Request) { // HL
fmt.Fprintln(w, "hello")
}
func main() {
http.HandleFunc("/", handler) // HL
err := http.ListenAndServe("localhost:1234", nil)
if err != nil {
log.Fatal(err)
}
}