613b7ff2e1
Bumps [github.com/k1LoW/tbls](https://github.com/k1LoW/tbls) from 1.67.1 to 1.68.0. - [Release notes](https://github.com/k1LoW/tbls/releases) - [Changelog](https://github.com/k1LoW/tbls/blob/main/CHANGELOG.md) - [Commits](https://github.com/k1LoW/tbls/compare/v1.67.1...v1.68.0) --- updated-dependencies: - dependency-name: github.com/k1LoW/tbls dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.github | ||
cmd/populatedb | ||
internal | ||
.gitignore | ||
.golangci.yml | ||
.goreleaser.yml | ||
CHANGELOG.md | ||
LICENSE | ||
Makefile | ||
README.md | ||
go.mod | ||
go.sum |
README.md
populatedb
Quickly populate database with fake data for testing only.
Currently support:
- mysql:
- varchar
- bigint
- int
- timestamp
- json
Install
go install github.com/haunt98/populatedb-go/cmd/populatedb@latest
Run
Example:
populatedb g --dialect "mysql" --url "root:@tcp(localhost:4000)/production" --table "production_2022" --number 10000000
Contribute
Feel free to ask or implement feature yourself :)
Roadmap
- Support more database (postgres, sqlite, ...)
- Support more database type