initial commit

This commit is contained in:
abelith committed 2026-10-02 00:48:55 +03:00
commit bec2cfd017
18 files changed
+781

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
package core
import mcontext "github.com/abelith/gomax/context"
type HandlerFunc func(c *mcontext.Context) error
func (h HandlerFunc) HandleUpdate(c *mcontext.Context) error {
return h(c)
}
func (h HandlerFunc) Use(_ ...Middleware) {
panic("HandlerFunc.Use must never be called")
}