2c79462
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package main import ( "log" "net/http" "github.com/johndeniel/danielle/server" ) func main() { http.HandleFunc("/", server.HomeHandler) http.HandleFunc("/article/", server.ReadHandler) log.Fatal(http.ListenAndServe(":7860", nil)) }