second commit

This commit is contained in:
Mikolaj 2018-11-18 21:52:49 +01:00
parent bcef3ca10f
commit 02a74fe9b2

17
plik.go Normal file
View File

@ -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)
}