|4 days ago||5 days ago|
|MIT License||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.
Connecting to PostgreSQL using GORM
2 projects | dev.to | 1 Dec 2021
This article builds up on the last part where we built a simple REST API with Go. Now, let's connect our API with a real database! Here, we will use PostgreSQL and GORM to accomplish this.
Is there something you always wanted to see implemented in Go?
12 projects | reddit.com/r/golang | 24 Nov 2021
Have you tried Gorm?
[HELP]One to many in sqlx.
3 projects | reddit.com/r/golang | 22 Nov 2021
Short answer, you can’t, at least not directly, since sqlx isn’t an ORM. I’d check out gorm for something like that.
Migrating from PHP to Go
26 projects | reddit.com/r/golang | 30 Sep 2021
Do you like an ORM like eloquent for Laravel? Then I can recommend GORM https://gorm.io/26 projects | reddit.com/r/golang | 30 Sep 2021
Good ORM library: https://gorm.io/
5chan - The 4chan clone
7 projects | dev.to | 18 Sep 2021
How We Went All In on sqlc/pgx for Postgres + Go
3 projects | reddit.com/r/golang | 9 Sep 2021
Well, if you look at Gorm's prepare_stmt.go you see that it is a thin wrapper around a database/sql.Stmt. And if you look at database/sql.Stmt you see that it's a sort of handle to an abstract entity that it creates in the database.
Go, Kafka and gRPC clean architecture CQRS microservices with Jaeger tracing 👋🧑💻
14 projects | dev.to | 29 Aug 2021
Writer service consumes kafka topics, process messages writing to postgres and publishes successfully processed messages to kafka. For working with postgres in Go in my opinion the best choose is pgx, but if you need query builder very good library is squirrel, personally don't like orm's, but usually as have seen, teams often uses gorm, it's up to you. ProcessMessages method listening kafka topics and call specific method depends on topic:
What Knowledge Golang Back End Developer Should Have?
7 projects | reddit.com/r/golang | 24 Aug 2021
gorm's performance I believe is fairly impressive at this point. While it was bad at first, they put a lot of effort in the v2 release to make it great. Check out: https://github.com/go-gorm/gorm/issues/3055
Read table from database without knowng its field in golang
1 project | reddit.com/r/golang | 8 Aug 2021
Sure. You can do this, but I would honestly recommend to only do this in test code, if at all. Otherwise, you should aim to keep types and by that the according API to interact with your DB schema static and consistent. An easy way to do this would be to use an object relational mapper (ORM) library like gorm.
Which web framework would you recommend?
4 projects | reddit.com/r/golang | 3 Dec 2021
I'm mostly playing around with Fiber.
🔐 Structure of a single-page Vue 3 (TypeScript) app using JWT authorization requests to the backend
2 projects | dev.to | 15 Nov 2021
📌 Note: Examples of code for these microservices will be at Go language and the Fiber web framework, since that's my main stack (at the moment).
Which web framework to learn?
6 projects | reddit.com/r/golang | 20 Oct 2021
Check Fiber, here.
Which web framework is more preferred or "industry standard" today?
3 projects | reddit.com/r/golang | 17 Oct 2021
Actually I don't think there is a real standard one. But I do very like using https://gofiber.io/. It's built on top of fasthttp which is one of the fastest Http severs out there.
Release v2.20.0 · gofiber/fiber
2 projects | reddit.com/r/golang | 6 Oct 2021
💆♀️ 💆♂️ PostgreSQL query optimization for Gophers: It's much easier than it sounds!
1 project | dev.to | 4 Oct 2021
☝️ Note: I will give all the code samples in Go with Fiber web framework, since this is my main language & framework for backend development at the moment.
💭 How to make clear & pretty error messages from the Go backend to your frontend?
3 projects | dev.to | 27 Sep 2021
Furthermore, in the example below, I took code from my project written using the Fiber web framework. So, some elements from its libraries are present there. Don't be scared, the main thing here is to understand the principle of validation itself.
5chan - The 4chan clone
7 projects | dev.to | 18 Sep 2021
Tutorial: Getting Started with APIs in GoLang (feat. Fiber and GORM)
3 projects | dev.to | 14 Sep 2021
NodeJs has enjoyed a lot of love from people building backend services for the past decade. Developing APIs the Express way is super developer friendly for both polished NodeJs developers and new Go Developers. Thus Fiber was built with Express in mind. Fiber is a web framework for Go with APIs readiness from scratch, middleware support and super fast performance. We will be making use of Fiber to create our web API.
How to use ZeroMQ Request-Reply Pattern in Golang
2 projects | dev.to | 6 Sep 2021
The framework I'm going to use is fiber and the ZeroMQ client that I'm going to use is zmq4.
What are some alternatives?
Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
ent - An entity framework for Go
mux - A powerful HTTP router and URL matcher for building Go web servers with 🦍
SQLBoiler - Generate a Go ORM tailored to your database schema.
go-pg - Golang ORM with focus on PostgreSQL features and performance
Echo - High performance, minimalist Go web framework
Iris - The fastest HTTP/2 Go Web Framework. AWS Lambda, gRPC, MVC, Unique Router, Websockets, Sessions, Test suite, Dependency Injection and more. A true successor of expressjs and laravel | 谢谢 https://github.com/kataras/iris/issues/1329 |
gorp - Go Relational Persistence - an ORM-ish library for Go
xorm - xorm是一个简单而强大的Go语言ORM库，通过它可以使数据库操作非常简便。本库是基于原版xorm的定制增强版本，为xorm提供类似ibatis的配置文件及动态SQL支持，支持AcitveRecord操作
upper.io/db - Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.