package handlers import ( "net/http" ) const pong = `
_______
< Pong! >
-------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
`
func Pong() http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/html")
w.Write([]byte(pong))
}
}