Refactoring codes for more tg message types
This commit is contained in:
@@ -50,7 +50,7 @@ func readBusStopData(r io.Reader) (*map[string]*BusStop, error) {
|
||||
entry.Latitude = v
|
||||
case "STATION_LONGITUDE":
|
||||
v, _ := strconv.ParseFloat(value, 64)
|
||||
entry.Longtitude = v
|
||||
entry.Longitude = v
|
||||
case "STATION_NAME_CHI":
|
||||
entry.Name_zh = value
|
||||
case "STATION_NAME_ENG":
|
||||
|
||||
Reference in New Issue
Block a user