Zaktualizuj 'main.go'

This commit is contained in:
Bartosz Kmieciak 2018-12-29 20:26:58 +00:00
parent 3e12cce3d8
commit 3cc0167011

13
main.go
View File

@ -3,9 +3,17 @@ import (
"fmt"
"log"
"net/http"
"encoding/json"
)
type towar []struct {
ID int
NazwaTw string
Imie string
Nazwisko string
PracownikID int
Info string
}
func Strona1(w http.ResponseWriter, r *http.Request){
fmt.Fprintf(w, "Strona 1")
@ -16,7 +24,8 @@ func HandleRequests(){
}
func main(){
HandleRequests()
}
}