Should be good for future microservices and such Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
9 lines
144 B
Go
9 lines
144 B
Go
package main
|
|
|
|
import "net/http"
|
|
|
|
func (app *application) healthCheckHandler(w http.ResponseWriter, r *http.Request) {
|
|
w.Write([]byte("ok"))
|
|
|
|
}
|