upp/pkg/api/handler.go
loveuer 7efeb093f2 wip: refactory uapp to uzone
feat: config first
2025-03-08 23:05:02 +08:00

10 lines
192 B
Go

package api
import "fmt"
type HandlerFunc func(*Ctx) error
func ToDoHandler(c *Ctx) error {
return c.Status(501).SendString(fmt.Sprintf("%s - %s Not Implemented", c.Method(), c.Path()))
}