An open API service indexing awesome lists of open source software.

https://github.com/178inaba/go-orm-example

Example of Go ORM.
https://github.com/178inaba/go-orm-example

golang gorm gorp orm sqlx

Last synced: 8 months ago
JSON representation

Example of Go ORM.

Awesome Lists containing this project

README

          

# Go ORM Example

This repository is example of Go ORM.

- [gorm](https://github.com/jinzhu/gorm)
- [gorp](https://github.com/go-gorp/gorp)
- [sqlx](https://github.com/jmoiron/sqlx)

## Setup

```console
$ mysql -u root -h 127.0.0.1 < misc/queries/create_database.sql
$ mysql -u root -h 127.0.0.1 go_orm_example < misc/queries/ddl.sql
$ mysql -u root -h 127.0.0.1 go_orm_example < misc/queries/test_data.sql
```

## License

[MIT](LICENSE)

## Author

Masahiro Furudate (a.k.a. [178inaba](https://github.com/178inaba))
<178inaba.git@gmail.com>