Categorygithub.com/cccteam/db-initiator
modulepackage
0.2.4
Repository: https://github.com/cccteam/db-initiator.git
Documentation: pkg.go.dev

# README

testdb

# Functions

NewPostgresContainer returns a new PostgresContainer ready to use with postgres.
NewPostgresDatabase represents a new postgres database.
NewSpannerContainer returns a initialized SpannerContainer ready to run to create databases for unit tests.
NewSpannerDatabase will create a spanner database.
NewSpannerInstance creates a spanner instance.
No description provided by the author

# Structs

PostgresContainer represents a docker container running a postgres instance.
PostgresDatabase represents a postgres database created and ready for migrations.
SpannerContainer represents a docker container running a spanner instance.
SpannerDB represents a database created and ready for migrations.