From 62387194d06ba055cd4f54f03778cb86346d7759 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Fri, 28 Jun 2024 13:59:58 +0100 Subject: [PATCH] Prepare for stations --- bplan/bplan.go | 7 ------- bplan/fetch.go | 3 --- bplan/types.go | 13 ------------- coordinates/coordinates.go | 3 --- coordinates/types.go | 11 ----------- stations/check.go | 1 + stations/parse.go | 1 + stations/run.go | 1 + 8 files changed, 3 insertions(+), 37 deletions(-) delete mode 100644 bplan/bplan.go delete mode 100644 bplan/fetch.go delete mode 100644 bplan/types.go delete mode 100644 coordinates/coordinates.go delete mode 100644 coordinates/types.go create mode 100644 stations/check.go create mode 100644 stations/parse.go create mode 100644 stations/run.go diff --git a/bplan/bplan.go b/bplan/bplan.go deleted file mode 100644 index 2a0c6e9..0000000 --- a/bplan/bplan.go +++ /dev/null @@ -1,7 +0,0 @@ -package bplan - -// Returns: a slice of objects containing a TIPLOC, Latitude and Longitude -func GetTiplocLocations() []TiplocLatLong {} - -// Returns: a slice of objects containing a TIPLOC, Easting and Northing -func GetTiplocLocationsOS() []TiplocOS {} diff --git a/bplan/fetch.go b/bplan/fetch.go deleted file mode 100644 index 6aead03..0000000 --- a/bplan/fetch.go +++ /dev/null @@ -1,3 +0,0 @@ -package bplan - -// Fetch BPLAN data - nothing more, nothing less diff --git a/bplan/types.go b/bplan/types.go deleted file mode 100644 index 9fe9f6d..0000000 --- a/bplan/types.go +++ /dev/null @@ -1,13 +0,0 @@ -package bplan - -type TiplocLatLong struct { - Tiploc string - Latitude float64 - Longitude float64 -} - -type TiplocOS struct { - Tiploc string - Easting int64 - Northing int64 -} diff --git a/coordinates/coordinates.go b/coordinates/coordinates.go deleted file mode 100644 index d54c7d1..0000000 --- a/coordinates/coordinates.go +++ /dev/null @@ -1,3 +0,0 @@ -package coordinates - -// Converts, fairly roughly between OS and GPS coordinates diff --git a/coordinates/types.go b/coordinates/types.go deleted file mode 100644 index 7c3f92b..0000000 --- a/coordinates/types.go +++ /dev/null @@ -1,11 +0,0 @@ -package coordinates - -type OsCoordinates struct { - Easting int64 - Northing int64 -} - -type GpsCoordinates struct { - Latitude float64 - Longitude float64 -} diff --git a/stations/check.go b/stations/check.go new file mode 100644 index 0000000..a6c7a0a --- /dev/null +++ b/stations/check.go @@ -0,0 +1 @@ +package stations \ No newline at end of file diff --git a/stations/parse.go b/stations/parse.go new file mode 100644 index 0000000..a6c7a0a --- /dev/null +++ b/stations/parse.go @@ -0,0 +1 @@ +package stations \ No newline at end of file diff --git a/stations/run.go b/stations/run.go new file mode 100644 index 0000000..a6c7a0a --- /dev/null +++ b/stations/run.go @@ -0,0 +1 @@ +package stations \ No newline at end of file