1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-11 18:32:50 +00:00

got angular routing working - starting on html components

This commit is contained in:
2016-05-15 01:58:38 -05:00
parent d680c85c4a
commit 73fcbe6a5f
22 changed files with 778 additions and 42 deletions

13
controller/redirect.go Normal file
View File

@@ -0,0 +1,13 @@
package controller
import (
"github.com/julienschmidt/httprouter"
"net/http"
)
// Redirect to discord
func Discord(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {
http.Redirect(w, r, "https://discordapp.com/invite/0Z2tzxKECEj2BHwj", 301)
}