postgis

package
v1.9.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupTestDB

func SetupTestDB(ctx context.Context, t *testing.T, dockerContext string) (string, testcontainers.Container)

SetupTestDB creates and a new PostGIS database for testing, populates it with OpenStreetMap spatial surrogate data, and returns a URL to connect to the database and the running Docker container. dockerContext is the path to the directory containing the Docker context (e.g. the Dockerfile).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL