init hello world
This commit is contained in:
10
http/handler.go
Normal file
10
http/handler.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package http
|
||||
|
||||
import "net/http"
|
||||
|
||||
func NewServer() http.Handler {
|
||||
mux := http.NewServeMux()
|
||||
addRoutes(mux)
|
||||
var handler http.Handler = mux
|
||||
return handler
|
||||
}
|
||||
Reference in New Issue
Block a user