playground/README.md

23 lines
1.1 KiB
Markdown
Raw Normal View History

2020-06-24 03:42:22 +00:00
# GORM PlayGround
GORM PlayGround can be used to play GORM and reports issues
### Usage
2020-06-24 04:09:43 +00:00
Modify [https://github.com/go-gorm/playground/blob/master/main_test.go](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
2020-06-24 03:42:22 +00:00
If you encounter a bug in GORM, please report it at [https://github.com/go-gorm/gorm/issues](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](https://github.com/go-gorm/playground/blob/master/main_test.go) to your favorite one
```go
// GORM_REPO: https://github.com/go-gorm/gorm.git
// GORM_BRANCH: master
```
2020-06-24 04:09:43 +00:00
BTW, we have prepared some structs with relationships in [https://github.com/go-gorm/playground/blob/master/models.go](https://github.com/go-gorm/playground/blob/master/models.go) that you may interested to use
2020-06-24 03:42:22 +00:00
Don't forgot to close your PR after finish play! ;)
## Happy Hacking!