Zaktualizuj 'main.go'
This commit is contained in:
parent
3e12cce3d8
commit
3cc0167011
13
main.go
13
main.go
@ -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()
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user