Files
go-example/main.go
2026-01-03 18:00:36 +08:00

15 lines
192 B
Go

package main
import (
"k8s-example/hello"
"net/http"
)
func main() {
http.HandleFunc("/hello", hello.Handler)
err := http.ListenAndServe(":8800", nil)
if err != nil {
panic(err)
}
}