diff --git a/assignment1 b/assignment1 index 47aa2ff4c7c77f0888119726177dcb79a9d70ebb..5ad7c7f9449b900dc529a5431b5934d18207aa73 100755 Binary files a/assignment1 and b/assignment1 differ diff --git a/src/main.go b/src/main.go deleted file mode 100644 index 5eb5bfe09a9c7be38001a6096946d16de4a4feaa..0000000000000000000000000000000000000000 --- a/src/main.go +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "html" - "log" - "net/http" - "os" -) - -//Server that prints halli - -func helloHandler(w http.ResponseWriter, r *http.Request) { - fmt.Fprintf(w, "Hello, %q", html.EscapeString(r.URL.Path)) -} - -func main() { - port := os.Getenv("PORT") - port = "8080" - - if port == "" { - log.Fatal("$PORT must be set") - } - - http.HandleFunc("/", helloHandler) - - log.Fatal(http.ListenAndServe(":"+port, nil)) -} diff --git a/src/main_test.go b/src/main_test.go deleted file mode 100644 index e3825b40ebf0d96082d255428ede4793768fe53f..0000000000000000000000000000000000000000 --- a/src/main_test.go +++ /dev/null @@ -1,9 +0,0 @@ -package main - -/*func TestMain(t *testing.T) { - want := "Hello, world." - if got := Hello(); got != want { - t.Errorf("Hello() = %q, want %q", got, want) - } -} -*/ diff --git a/src/src b/src/src deleted file mode 100755 index bba49aee3ad0ed1fe1523fb3bf3804b502c1fe74..0000000000000000000000000000000000000000 Binary files a/src/src and /dev/null differ