Skip to content

Commit

Permalink
first system test passes
Browse files Browse the repository at this point in the history
  • Loading branch information
rosenhouse committed Feb 23, 2016
1 parent c8ebedb commit af7836f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions server/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
package main

import "fmt"
import "net/http"

func main() {
fmt.Println("hello world")
mux := http.NewServeMux()
mux.Handle("/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("hello"))
}))
http.ListenAndServe(":8000", mux)
}

0 comments on commit af7836f

Please sign in to comment.