mirror of
https://github.com/kevin-DL/gothstarter.git
synced 2026-01-22 14:25:22 +00:00
initial
This commit is contained in:
10
handlers/home.go
Normal file
10
handlers/home.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package handlers
|
||||
|
||||
import (
|
||||
"gothstarter/views/home"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func HandleHome(w http.ResponseWriter, r *http.Request) error {
|
||||
return Render(w, r, home.Index())
|
||||
}
|
||||
Reference in New Issue
Block a user