diff --git a/plik.go b/plik.go new file mode 100644 index 0000000..da6df8a --- /dev/null +++ b/plik.go @@ -0,0 +1,17 @@ +package main + +import ( + "fmt" + "net/http" + +) + +func hello(w http.ResponseWriter, r *http.Request) { + fmt.Fprint(w, "to dziala :)") +} + + +func main(){ + http.HandleFunc("/", hello) + http.ListenAndServe(":8080", nil) +} \ No newline at end of file