()
| 17 | } |
| 18 | |
| 19 | func main() { |
| 20 | listenAddr := ":8080" |
| 21 | if val, ok := os.LookupEnv("FUNCTIONS_CUSTOMHANDLER_PORT"); ok { |
| 22 | listenAddr = ":" + val |
| 23 | } |
| 24 | http.HandleFunc("/api/HttpExample", helloHandler) |
| 25 | log.Printf("About to listen on %s. Go to https://127.0.0.1%s/", listenAddr, listenAddr) |
| 26 | log.Fatal(http.ListenAndServe(listenAddr, nil)) |
| 27 | } |
nothing calls this directly
no outgoing calls
no test coverage detected