Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bygui86/go-gorm
Sample project to explore gorm Golang library for SQL
https://github.com/bygui86/go-gorm
Last synced: 2 days ago
JSON representation
Sample project to explore gorm Golang library for SQL
- Host: GitHub
- URL: https://github.com/bygui86/go-gorm
- Owner: bygui86
- License: apache-2.0
- Created: 2020-09-01T07:22:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-05T19:10:12.000Z (over 4 years ago)
- Last Synced: 2024-05-23T04:24:00.561Z (7 months ago)
- Language: Go
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-gorm
Sample project to explore gorm Golang library for SQL
## Run
### SQLite sample
```shell script
make run DB_TYPE=sqlite
```### MySQL sample
```shell script
make run-mysql
make run DB_TYPE=mysql
```### PostgreSQL sample
```shell script
make run-postgres
make run DB_TYPE=postgres
```## Links
- https://gorm.io/index.html
- https://github.com/chzyer/logex