Displaying 1 to 20 from 29 results

gorm - The fantastic ORM library for Golang, aims to be developer friendly

  •    Go

The fantastic ORM library for Golang, aims to be developer friendly.Released under the MIT License.

golang-gin-realworld-example-app - Exemplary real world application built with Golang + Gin

  •    Go

This codebase was created to demonstrate a fully fledged fullstack application built with Golang/Gin including CRUD operations, authentication, routing, pagination, and more.




gormigrate - Minimalistic database migration helper for Gorm ORM

  •    Go

Gormigrate is a migration helper for Gorm. Gorm already have useful migrate functions, just misses proper schema versioning and rollback cababilities.If you have a lot of migrations, it can be a pain to run all them, as example, when you are deploying a new instance of the app, in a clean database. To prevent this, you can set a function that will run if no migration was run before (in a new clean database). Remember to create everything here, all tables, foreign keys and what more you need in your app.

go-queryset - 100% type-safe ORM for Go (Golang) with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support

  •    Go

100% type-safe ORM for Go (Golang) with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support. GORM under the hood.Take a loot at line // gen:qs. It's a necessary line to enable querysets for this struct. You can put it at any line in struct's doc-comment.

gorm-adapter - Gorm adapter for Casbin

  •    Go

Gorm Adapter is the Gorm adapter for Casbin. With this library, Casbin can load policy from Gorm supported database or save policy to it. You may find other 3rd-party supported DBs in Gorm website or other places.


go-mocket - Go GORM & SQL mocking library

  •    Go

Now if use singleton instance of DB it will use everywhere mocked connection.

gen - Converts a database into gorm structs and RESTful api

  •    Go

The gen tool produces golang structs from a given database for use in a .go file. It supports gorm tags and implements some usable methods. It can also generate RESTful api for those structs. By reading details from the database about the column structure, gen generates a go compatible struct type with the required column names, data types, and annotations.

gorm2sql - auto generate sql from gorm model struct

  •    Go

A Swiss Army Knife helps you generate sql from gorm model struct. gorm2sql loads go source file to golang AST, then generate sql according to tag of gorm struct field.

golang-starter-kit - A web api application boilerplate in Go taking best practices and utilizing best available packages and tools

  •    Go

本工具包旨于让您快速构建起项目结构,以便通过Go来开发WebApi或RPC服务,遵循SOLID的最佳实践来编写GO代码. 现阶段本项目例子还相对简单,但框架及组件的使用都是在实际项目使用的,未来再提供近于实战的例子.

gorm-zap - Alternative logging with zap for GORM ⚡️

  •    Go

In comparison to gorm's default logger, gormzap is faster, reflection free, low allocations and no regex compilations. According to our benchmark, gormzap makes DB operations at least 5% faster and reduce object allocations.

sqlext - extend gorm and gocql

  •    Go

extend gorm and gocql

gomidway - A sample blogging platform in golang

  •    Go

A sample blogging platform in golang

go-web - Modern Web Application with Golang

  •    Go

Each of the items should be implemented with the easiest approach.