package
0.0.0-20241218184505-25a062d0facb
Repository: https://github.com/tullo/microservice.git
Documentation: pkg.go.dev
# Functions
Connect connects to a database and produces the handle for injection.
Connector opens a database and pings it using APM SQL wrapper.
ConnectWithOptions connects to a database host using connection options.
ConnectWithRetry uses retry options set in ConnectionOptions.
List lists database migration filenames.
Print prints main and service migrations.
Run takes migrations for a project and executes them against a database.
# Structs
ConnectionOptions include common connection options.
DB contains DSN and Driver.
# Type aliases
FS represents a mapping between filename => contents.