mirror of
https://github.com/roninli/playground.git
synced 2024-10-18 16:20:18 +00:00
GORM Playground (Please Create PR for this project to report issues)
.github | ||
.gitignore | ||
db.go | ||
go.mod | ||
main_test.go | ||
models.go | ||
README.md | ||
test.sh |
GORM PlayGround
GORM PlayGround can be used to play GORM and reports issues
Usage
Modify https://github.com/go-gorm/playground/blob/master/main_test.go and create pull report, your code will runs with sqlite, mysql, postgres and sqlserver with the help of Github Action
If you encounter a bug in GORM, please report it at https://github.com/go-gorm/gorm/issues with the PlayGround Pull Request's link
Your code will run with GORM's lastest master branch, if you want to use a different one, please change following comment in the above link to your favorite one
// GORM_REPO: https://github.com/go-gorm/gorm.git
// GORM_BRANCH: master
BTW, we have prepared some structs with relationships in https://github.com/go-gorm/playground/blob/master/models.go that you may interested to use
Don't forgot to close your PR after finish play! ;)