Files
SEEN/backend/internal/api/handlers/placeholder_handler.go
T
2026-04-10 12:06:24 +02:00

23 lines
407 B
Go

package handlers
import (
"net/http"
"github.com/gin-gonic/gin"
)
type PlaceholderHandler struct{}
func NewPlaceholderHandler() *PlaceholderHandler {
return &PlaceholderHandler{}
}
func (h *PlaceholderHandler) NotImplemented(feature string) gin.HandlerFunc {
return func(c *gin.Context) {
c.JSON(http.StatusNotImplemented, gin.H{
"error": "not implemented",
"feature": feature,
})
}
}