@@ -1,11 +1,14 @@
package main
import (
"net/http"
"k8s-example/hello"
)
func main() {
http.HandleFunc("/hello", hello.Handler)
http.ListenAndServe(":8800", nil)
}
err := http.ListenAndServe(":8800", nil)
if err != nil {
panic(err)
The note is not visible to the blocked user.