Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 454 Bytes

File metadata and controls

39 lines (28 loc) · 454 Bytes

Generate data

Install

Golang must be installed with config $GOROOT & $GOPATH

Pull library with command

go get

Usage

Init database with file sql/init.sql

Build project

go build

Execute binary file

./generate_data

Config

Must be in same path with binary file, in folder

config/config.yaml

Update connection configuration in config.yaml Supported Postgres (postgres) and MySQL (mysql)