Template
1
0
Fork 0
goth.stack/api/ping.go
2024-01-24 11:22:33 -07:00

13 lines
204 B
Go

package api
import (
"net/http"
"github.com/uptrace/bunrouter"
)
func Ping(w http.ResponseWriter, req bunrouter.Request) error {
w.WriteHeader(http.StatusOK)
w.Write([]byte("Pong!"))
return nil
}