go-web/framework/core.go
2024-09-05 17:30:59 +02:00

19 lines
305 B
Go

package framework
import (
"net/http"
)
// Core is the core struct of the framework
type Core struct{}
// NewCore initialize the Core.
func NewCore() *Core {
return &Core{}
}
// ServeHTTP implements the Handler interface
func (c *Core) ServeHTTP(w http.ResponseWriter, r *http.Request) {
// TODO
}