-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.go
More file actions
43 lines (27 loc) · 788 Bytes
/
index.go
File metadata and controls
43 lines (27 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package hello
import (
// "fmt"
"net/http"
)
func init() {
http.Handle("/", http.FileServer(http.Dir("./public")))
http.HandleFunc("/portfolio", portfolioHandler)
}
// func handler(w http.ResponseWriter, r *http.Request) {
// fmt.Fprint(w, "Yolo, world!")
// }
func portfolioHandler(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, "/", http.StatusMovedPermanently)
}
/*
Slots Challenges Framework in ReactJS and PHP
AWS Elasticache Migration from Memcached and Lambda functions
YouSpot Chrome Extension
RayTracer Engine in NodeJS
Shapes AI game in Unity
Kinect Finger Soccer in C++
Rendering Pipeline in pure JavaScript
Forest Generation using L-System in Three.js
Dogfighting Airplane game in Unity
CommonWealth Games Network Visualization in Flash
*/