Add parsing for Stations
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user