# Functions
NewBoundingBoxFromRectangles creates a new instance of a Rectangle by creating a union of two others.
NewDatabaseConnection creates and returns a new instance of the Datastore interface.
NewPoint creates a new point instance to encapsulate the provided coordinate.
NewPostgreSQLConnector opens a connection to a postgresql database.
NewRectangle takes two Points and returns a new Rectangle instance.
NewSQLiteConnector opens a connection to a local sqlite database.
# Interfaces
Datastore is an interface that is used to inject the database into different handlers to improve testability.
Road is a road.
RoadSegment is a road segment.
RoadSegmentLine represents a straight part of a road segment.
# Type aliases
ConnectorFunc is used to inject a database connection method into NewDatabaseConnection.