Danielle / main.go
johndeniel's picture
Update main.go
2c79462 verified
raw
history blame contribute delete
No virus
242 Bytes
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))
}