Go to file
sudo pacman -Syu ff60ba33d2 build: bump go 2024-04-19 23:39:27 +07:00
.github chore(deps): bump golangci/golangci-lint-action from 3 to 4 (#80) 2024-02-12 16:50:05 +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: increase timeout golangci 2023-12-21 03:02:27 +07:00
.goreleaser.yml chore: fix build github action 2022-11-06 18:13:55 +07:00
CHANGELOG.md chore(changelog): generate v0.0.6 2023-07-06 10:11:50 +07:00
LICENSE chore: bump year 2023-07-06 10:10:07 +07:00
Makefile chore: remove go fix 2024-03-01 14:39:03 +07:00
README.md chore: add purpose in README 2022-11-07 00:17:25 +07:00
go.mod build: bump go 2024-04-19 23:39:27 +07:00
go.sum chore(deps): bump github.com/k1LoW/tbls from 1.73.3 to 1.74.0 (#85) 2024-04-19 23:33:03 +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