Skip to content

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

Notifications You must be signed in to change notification settings

wzslr321/gorm_postgresql_gin_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages