blob: b64596ef6768845e31cbe455e8b8d04899e2284e [file] [log] [blame]
// +build OMIT
package main
import (
"fmt"
"log"
"net/http"
)
func こんにちは_Gophers(w http.ResponseWriter, req *http.Request) {
fmt.Fprintf(w, "こんにちは Gophers!\n")
}
func main() {
http.HandleFunc("/", こんにちは_Gophers)
err := http.ListenAndServe("localhost:12345", nil)
if err != nil {
log.Fatal("ListenAndServe: ", err)
}
}