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.
|
4 weeks ago | |
---|---|---|
.github | 4 weeks ago | |
cmd/populatedb | 5 months ago | |
internal | 4 months ago | |
.gitignore | 5 months ago | |
.golangci.yml | 4 weeks ago | |
.goreleaser.yml | 5 months ago | |
CHANGELOG.md | 5 months ago | |
LICENSE | 5 months ago | |
Makefile | 4 weeks ago | |
README.md | 5 months ago | |
go.mod | 1 month ago | |
go.sum | 1 month 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