mirror of
https://github.com/datarhei/core.git
synced 2025-09-27 04:16:25 +08:00
13 lines
203 B
Go
13 lines
203 B
Go
package handler
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/labstack/echo/v4"
|
|
)
|
|
|
|
// Null is a handler that always returns NoContent
|
|
func Null(c echo.Context) error {
|
|
return c.String(http.StatusNoContent, "")
|
|
}
|