GORM Playground (Please Create PR for this project to report issues)
Go to file
2020-06-24 12:25:41 +08:00
.github Disable log during migrate 2020-06-24 12:25:41 +08:00
.gitignore initialize 2020-06-24 11:42:22 +08:00
db.go Disable log during migrate 2020-06-24 12:25:41 +08:00
go.mod initialize 2020-06-24 11:42:22 +08:00
main_test.go Update README 2020-06-24 12:09:43 +08:00
models.go Update README 2020-06-24 12:09:43 +08:00
README.md Update README 2020-06-24 12:09:43 +08:00
test.sh initialize 2020-06-24 11:42:22 +08:00

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! ;)

Happy Hacking!