aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md2
-rw-r--r--navitia_api_client/client.go (renamed from api/client.go)2
-rw-r--r--navitia_api_client/client_test.go (renamed from api/client_test.go)2
-rw-r--r--navitia_api_client/departures.go (renamed from api/departures.go)2
-rw-r--r--navitia_api_client/departures_test.go (renamed from api/departures_test.go)2
-rw-r--r--navitia_api_client/test_data/invalid.json (renamed from api/test_data/invalid.json)0
-rw-r--r--navitia_api_client/test_data/normal-crepieux.json (renamed from api/test_data/normal-crepieux.json)0
7 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index da5431a..23ea7e2 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Trains
-Trains is a simple web app to display train timetables for specific lines at stations on France SNCF's network. It records weekly passages and you can subscribe to certain train times to alert when schedules change or your stop is removed. It queries the SNCF official api and present the results in a minimal web page that loads fast (unlike the official sites with all their images and ads).
+Trains is a simple web app to display train timetables for specific lines at stations on France SNCF's network. It records weekly passages and you can subscribe to certain train times to alert when schedules change or your stop is removed. It queries the SNCF official api by default but will work with any compatible Navitia api implementation and present the results in a minimal web page that loads fast (unlike the official sites with all their images and ads).
## Content
diff --git a/api/client.go b/navitia_api_client/client.go
index 79c8314..d08ca19 100644
--- a/api/client.go
+++ b/navitia_api_client/client.go
@@ -1,4 +1,4 @@
-package api
+package navitia_api_client
import (
"fmt"
diff --git a/api/client_test.go b/navitia_api_client/client_test.go
index c6146d4..ec51a06 100644
--- a/api/client_test.go
+++ b/navitia_api_client/client_test.go
@@ -1,4 +1,4 @@
-package api
+package navitia_api_client
import (
"fmt"
diff --git a/api/departures.go b/navitia_api_client/departures.go
index b87e35b..a6dcf53 100644
--- a/api/departures.go
+++ b/navitia_api_client/departures.go
@@ -1,4 +1,4 @@
-package api
+package navitia_api_client
import (
"encoding/json"
diff --git a/api/departures_test.go b/navitia_api_client/departures_test.go
index ad9d913..2c87429 100644
--- a/api/departures_test.go
+++ b/navitia_api_client/departures_test.go
@@ -1,4 +1,4 @@
-package api
+package navitia_api_client
import (
"net/http"
diff --git a/api/test_data/invalid.json b/navitia_api_client/test_data/invalid.json
index 98232c6..98232c6 100644
--- a/api/test_data/invalid.json
+++ b/navitia_api_client/test_data/invalid.json
diff --git a/api/test_data/normal-crepieux.json b/navitia_api_client/test_data/normal-crepieux.json
index 19a635a..19a635a 100644
--- a/api/test_data/normal-crepieux.json
+++ b/navitia_api_client/test_data/normal-crepieux.json