Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wzslr321/gorm_postgresql_gin_example

Very simple example of how to connect Gorm with Gin and Postgresql
https://github.com/wzslr321/gorm_postgresql_gin_example

gin golang gorm postgresql

Last synced: 8 days ago
JSON representation

Very simple example of how to connect Gorm with Gin and Postgresql

Awesome Lists containing this project

README

        

### Example of how to connect Gorm with Postgresql and Gin

#

It contains:
> very simple route-handling with gin

> database setup with migrations

> populate function which add dummy data based on gorm struct, without saving it to the database

> Add simple post to the database in-line