go-web/framework/core.go

19 lines
305 B
Go
Raw Normal View History

2024-09-05 15:30:59 +00:00
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
}