11 lines
158 B
Go
11 lines
158 B
Go
package http
|
|
|
|
import "net/http"
|
|
|
|
func NewServer() http.Handler {
|
|
mux := http.NewServeMux()
|
|
addRoutes(mux)
|
|
var handler http.Handler = mux
|
|
return handler
|
|
}
|