commute-importer

command module
v0.0.0-...-45692f4 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2015 License: MIT Imports: 15 Imported by: 0

README

commute-importer

This project aims to be an playground to explore General Transit Feed Specification Reference by enabling import GTFS data sets into a SQL database and exposing an API to query data.

Build Status Coverage Status

Dump Database

mysqldump --no-data -hlocalhost -ucommute -pcommute commute > ddl/commute-ddl.sql  

Import Database

mysql -ucommute -pcommute commute < commute-ddl.sql

REST Resources

Generate static resources:

Install go-bindata:

go get -u github.com/jteeuwen/go-bindata/...

Run go-bindata:

go-bindata -o data/data.go -pkg data resources/... 

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
csv
length
Package csv reads and writes comma-separated values (CSV) files.
Package csv reads and writes comma-separated values (CSV) files.
sql

Jump to

Keyboard shortcuts

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