aboutsummaryrefslogtreecommitdiff
path: root/home.go
blob: 490d8a3e1601edc47c0e5caa90f9e544ef3cbf1e (plain)
1
2
3
4
5
6
7
8
9
10
11
package main

import "net/http"

func init() {
	http.HandleFunc("/", homeHandler)
}

func homeHandler(w http.ResponseWriter, r *http.Request) {
	http.Redirect(w, r, "/view/Home", http.StatusFound)
}