20 lines
256 B
Go
20 lines
256 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
type Quay struct {
|
||
|
ID string `json:"quayid"`
|
||
|
Name string `json:"name"`
|
||
|
Town string `json:"town"`
|
||
|
}
|
||
|
|
||
|
var BusClient *http.Client
|
||
|
var Quays []Quay = []Quay{}
|
||
|
|
||
|
func main() {
|
||
|
BusClient = &http.Client{}
|
||
|
serveHttp()
|
||
|
}
|