package
1.10.0
Repository: https://github.com/kloeckner-i/db-operator.git
Documentation: pkg.go.dev

# Functions

Create executes queries to create database and user.
Delete executes queries to delete database and user.
New returns database interface according to engine type.

# Structs

AdminCredentials contains admin username and password of database server.
Credentials contains credentials to connect database.
DatabaseAddress contains host and port of a database instance.
Mysql is a database interface, abstraced object represents a database on mysql instance can be used to execute query to mysql database.
Postgres is a database interface, abstraced object represents a database on postgres instance can be used to execute query to postgres database.

# Interfaces

Database is interface for CRUD operate of different types of databases.