portfolio/api/webRoutes.go

13 lines
200 B
Go
Raw Normal View History

package api
import (
"net/http"
"portfolio/api/handler"
)
func WebRoutes(mux **http.ServeMux) {
m := *mux
// Register the routes and webHandler
m.HandleFunc("GET /{$}", handler.InitHomepage)
}