Skip to content
Snippets Groups Projects
Commit f36be863 authored by Aksel Baardsen's avatar Aksel Baardsen
Browse files

fix

parent 2b92b7c7
Branches
No related tags found
No related merge requests found
package main
import (
"fmt"
"net/http"
)
func main() {
http.HandleFunc("/hello", handlerHello)
http.ListenAndServe("localhost:8080", nil)
}
func handlerHello(w http.ResponseWriter, r *http.Request) {
fmt.Fprintln(w, "hello")
}
\ No newline at end of file
......@@ -3,11 +3,3 @@ module assignment-1
go 1.13
// +heroku goVersion go1.13
\ No newline at end of file
/*
require (
github.com/gorilla/mux v1.7.3 // indirect
github.com/mitchellh/go-homedir v1.1.0
github.com/spf13/cobra v0.0.5
github.com/spf13/viper v1.4.0
)
*/
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment