16 lines
229 B
Go
16 lines
229 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
mux := http.NewServeMux()
|
||
|
mux.HandleFunc("/info", handleInfoRequest)
|
||
|
http.ListenAndServe(":8080", mux)
|
||
|
}
|
||
|
|
||
|
func handleInfoRequest(w http.ResponseWriter, r *http.Request) {
|
||
|
|
||
|
}
|