Go to file
dependabot[bot] 05990f1359
chore(deps): bump github.com/k1LoW/tbls from 1.56.6 to 1.56.8
Bumps [github.com/k1LoW/tbls](https://github.com/k1LoW/tbls) from 1.56.6 to 1.56.8.
- [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.56.6...v1.56.8)

---
updated-dependencies:
- dependency-name: github.com/k1LoW/tbls
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 08:09:43 +00:00
.github chore: fix build github action 2022-11-06 18:13:55 +07:00
cmd/populatedb feat: simple populator 2022-11-06 17:56:31 +07:00
internal feat: ParseDatabaseType receive tbls column 2022-11-07 00:36:07 +07:00
.gitignore feat: init new populator 2022-11-06 16:21:32 +07:00
.golangci.yml feat: init new populator 2022-11-06 16:21:32 +07:00
.goreleaser.yml chore: fix build github action 2022-11-06 18:13:55 +07:00
CHANGELOG.md chore(changelog): generate v0.0.4 2022-11-07 00:20:40 +07:00
LICENSE chore: add MIT license 2022-11-06 18:07:02 +07:00
Makefile feat: init new populator 2022-11-06 16:21:32 +07:00
README.md chore: add purpose in README 2022-11-07 00:17:25 +07:00
go.mod chore(deps): bump github.com/k1LoW/tbls from 1.56.6 to 1.56.8 2022-11-10 08:09:43 +00:00
go.sum chore(deps): bump github.com/k1LoW/tbls from 1.56.6 to 1.56.8 2022-11-10 08:09:43 +00:00

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

Thanks