You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
sudo pacman -Syu 387fef2780
Merge pull request #4 from haunt98/dependabot/go_modules/github.com/k1LoW/tbls-1.56.8
3 weeks ago
.github chore: fix build github action 4 weeks ago
cmd/populatedb feat: simple populator 4 weeks ago
internal feat: ParseDatabaseType receive tbls column 4 weeks ago
.gitignore feat: init new populator 4 weeks ago
.golangci.yml feat: init new populator 4 weeks ago
.goreleaser.yml chore: fix build github action 4 weeks ago
CHANGELOG.md chore(changelog): generate v0.0.4 4 weeks ago
LICENSE chore: add MIT license 4 weeks ago
Makefile feat: init new populator 4 weeks ago
README.md chore: add purpose in README 4 weeks ago
go.mod chore(deps): bump github.com/k1LoW/tbls from 1.56.6 to 1.56.8 3 weeks ago
go.sum chore(deps): bump github.com/k1LoW/tbls from 1.56.6 to 1.56.8 3 weeks ago

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