Golang must be installed with config $GOROOT
& $GOPATH
Pull library with command
go get
Init database with file sql/init.sql
Build project
go build
Execute binary file
./generate_data
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
)