Completed
Pull Request — master (#44)
by Stefano
02:21
created

cmd/testserver/main.go   A

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
cc 4
eloc 8
dl 0
loc 12
rs 10
c 0
b 0
f 0
1
package main
2
3
import (
4
	"net/http"
5
)
6
7
func main() {
8
	http.HandleFunc("/home", func(writer http.ResponseWriter, request *http.Request) {})
9
	http.HandleFunc("/index", func(writer http.ResponseWriter, request *http.Request) {})
10
11
	if err := http.ListenAndServe(":8080", nil); err != nil {
12
		panic(err)
13
	}
14
}
15