prepare

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(c *cmd.Command, args []string) error

Main for prepare

Types

type CsvItem

type CsvItem struct {
	CarParkNo           string  `csv:"car_park_no"`
	Address             string  `csv:"address"`
	Xcoord              float64 `csv:"x_coord"`
	Ycoord              float64 `csv:"y_coord"`
	CarParkType         string  `csv:"car_park_type"`
	TypeOfParkingSystem string  `csv:"type_of_parking_system"`
	ShortTermParking    string  `csv:"short_term_parking"`
	FreeParking         string  `csv:"free_parking"`
	NightParking        string  `csv:"night_parking"`
	CarParkDecks        int32   `csv:"car_park_decks"`
	GantryHeight        float64 `csv:"gantry_height"`
	CarParkBasement     string  `csv:"car_park_basement"`
}

CsvItem for csv item

func Parse

func Parse(rd io.Reader) ([]*CsvItem, error)

Parse csv io.reader

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL