Add parsing for Stations

This commit is contained in:
Fred Boniface
2024-06-30 09:45:16 +01:00
parent a153fd4990
commit 358e69bec7
5 changed files with 66 additions and 4 deletions

View File

@@ -2,6 +2,7 @@ package dbAccess
import (
"context"
"fmt"
"git.fjla.uk/owlboard/go-types/pkg/database"
"go.mongodb.org/mongo-driver/bson"
@@ -80,3 +81,15 @@ func CreateCorpusIndexes() error {
}
return nil
}
func GetTiplocFromCrs(crs string) (tiploc string, err error) {
// Return TIPLOC from CRS code
err = fmt.Errorf("not yet written")
return "", err
}
func GetStanoxFromCrs(crs string) (stanox string, err error) {
// Return STANOX from CRS code
err = fmt.Errorf("not yet written")
return "", err
}