Go to file
dependabot[bot] 156791587b chore(deps): bump github.com/urfave/cli/v2 from 2.25.1 to 2.25.2
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.25.1 to 2.25.2.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.25.1...v2.25.2)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 16:33:33 +07:00
.github chore: bump go 1.20 github action 2023-02-26 00:03:14 +07:00
cmd/populatedb feat: simple populator 2022-11-06 17:56:31 +07:00
internal chore: fix lint 2022-12-05 15:44:16 +07:00
.gitignore feat: init new populator 2022-11-06 16:21:32 +07:00
.golangci.yml chore: update lint 2023-02-26 00:03:14 +07:00
.goreleaser.yml chore: fix build github action 2022-11-06 18:13:55 +07:00
CHANGELOG.md chore(changelog): generate v0.0.5 2023-02-26 00:05:12 +07:00
LICENSE chore: add MIT license 2022-11-06 18:07:02 +07:00
Makefile chore: update make 2023-02-26 00:03:14 +07:00
README.md chore: add purpose in README 2022-11-07 00:17:25 +07:00
go.mod chore(deps): bump github.com/urfave/cli/v2 from 2.25.1 to 2.25.2 2023-05-01 16:33:33 +07:00
go.sum chore(deps): bump github.com/urfave/cli/v2 from 2.25.1 to 2.25.2 2023-05-01 16:33:33 +07: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