go-gin-example
gorm_multipe_schemas
go-gin-example | gorm_multipe_schemas | |
---|---|---|
1 | 1 | |
6,723 | 0 | |
- | - | |
0.0 | 4.7 | |
10 months ago | 8 months ago | |
Go | Go | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-gin-example
-
Web application project structure
you can have a look at https://github.com/eddycjy/go-gin-example you don't have to use gin as the framework rather than looking at how he structure the folders.
gorm_multipe_schemas
-
Managing Multiple Database Schemas with Gorm
I've put together a complete example that demonstrates managing multiple schemas, creating custom table names, and using Gorm's table renaming, scopes, and clauses. You can find the full code example in the GitHub repository linked at the end of this post.If you've found yourself in a similar situation or you're just curious about different ways to use Gorm, check out the complete tutorial and source code on GitHub.Let me know if you have any questions, happy coding!
What are some alternatives?
go-graphql-boilerplate - A golang and graphql/restapi boilerplate build for fast and quick build.
go-queryset - 100% type-safe ORM for Go (Golang) with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support. GORM under the hood.
microservices-go - Golang Microservice Boilerplate using MySQL, Docker and Swagger, API REST. Gin Go and GORM with pagination and implementation of a Clean Architecture.
gormt - database to golang struct
swag - Simple go wrapper to create swagger compatible APIs
GORM - The fantastic ORM library for Golang, aims to be developer friendly
go-fastapi - Create an API and get Swagger definition for free
golang-gin-realworld-example-app - Exemplary real world application built with Golang + Gin
go-template - Go-template is an opinionated Hexagonal backend template written in GO.
ecommerce - A fully functional Ecommerce API in GO GIN Framework and mongoDB with JWT Authentication
go-carbon - An unofficial REST API for the Carbon project written in Go