init hello world
This commit is contained in:
10
http/routes.go
Normal file
10
http/routes.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package http
|
||||
|
||||
import "net/http"
|
||||
|
||||
func addRoutes(
|
||||
mux *http.ServeMux,
|
||||
) {
|
||||
mux.Handle("/", http.NotFoundHandler())
|
||||
mux.Handle("/helloworld", HelloWorld(nil))
|
||||
}
|
||||
Reference in New Issue
Block a user