modulepackage
0.0.0-20200723165425-5ba07d059bb4
Repository: https://github.com/bclipp/easydatabase.git
Documentation: pkg.go.dev
# README
EasyDataBase
This is a go package to make it easy to quickly write Go ETL jobs.
environment setup
# for integration tests
export PASSWORD=testing1234
export USERNAME=testing1234
export DATABASE=testing1234
export TABLE=customers
export INTEGRATION_TEST=True
export DB_IP_ADDRESS=127.0.0.1
export DATABASE_TYPE=postgresql
sudo --preserve-env docker-compose up
usage
# Functions
select_table is used for generating a query for selecting a table table field Params: table: table to generate the update query for.
update_tables is used for handling the update process table field Params: table: table to generate the update query for.return: the error.
# Structs
Database is used to hold the connection related variables.
No description provided by the author
# Interfaces
No description provided by the author