19 lines
305 B
Go
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
|
|
}
|