13 lines
239 B
Go
13 lines
239 B
Go
package admin
|
|
|
|
import "net/http"
|
|
|
|
func SetupRoutes() *http.ServeMux {
|
|
handler := http.NewServeMux()
|
|
handler.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
|
w.Write([]byte("Hello, World!"))
|
|
return
|
|
})
|
|
return handler
|
|
}
|