From 043e347703b780781bb2a16946299ff493215c76 Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Sat, 9 May 2020 12:22:31 -0700 Subject: healthcheck + basic api --- api/routes.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 api/routes.go (limited to 'api/routes.go') diff --git a/api/routes.go b/api/routes.go new file mode 100644 index 0000000..e3aac5b --- /dev/null +++ b/api/routes.go @@ -0,0 +1,10 @@ +package api + +import ( + "fmt" + "net/http" +) + +func healthCheckFunc(w http.ResponseWriter, r *http.Request) { + fmt.Fprintf(w, "Hello there chief") +} -- cgit v1.2.3