ping.go 170 B

12345678910
  1. package controllers
  2. import (
  3. "net/http"
  4. "pmail/dto/response"
  5. )
  6. func Ping(w http.ResponseWriter, req *http.Request) {
  7. response.NewSuccessResponse("pong").FPrint(w)
  8. }