You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
323 B
14 lines
323 B
package handlers |
|
|
|
import ( |
|
"fmt" |
|
"net/http" |
|
) |
|
|
|
func (h *Handler) Hackathon(w http.ResponseWriter, r *http.Request) { |
|
fmt.Println("I hit the hackathon route...") |
|
err := h.Template.ExecuteTemplate(w, "hackathon.html", nil) |
|
if err != nil { |
|
http.Error(w, "Template rendering error", http.StatusInternalServerError) |
|
} |
|
}
|
|
|