fix: make user signup work for the minimum

A lot of work is still to be done ...
This commit is contained in:
Muyao CHEN
2024-10-06 18:26:57 +02:00
parent 7b8abf8e5c
commit 344485d082
13 changed files with 103 additions and 24 deletions

View File

@ -22,6 +22,18 @@
package core
import "time"
type Context interface {
// Context
Deadline() (deadline time.Time, ok bool)
Done() <-chan struct{}
Err() error
Value(key any) any
// Request
Bind(obj any) error
// Response
JSON(code int, obj any)
}