|7 days ago||6 days ago|
|GNU General Public License v3.0 or later||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.
Golang for backend
13 projects | reddit.com/r/golang | 1 Dec 2021
Database Access (no ORMs): sqlc for static queries and squirrel for dynamic queries (queries that are constructed depending on conditionals.13 projects | reddit.com/r/golang | 1 Dec 2021
Migrating from PHP to Go
SQL Generation: https://github.com/Masterminds/squirrel
bqb VS Squirrel - a user suggested alternative
2 projects | 9 Sep 2021
Squirrel is more structured than bqb, but has a much higher memory footprint. Overall I've found that bqb is just as pleasant to use as squirrel, and I usually use bqb for new projects due to it being lighter weight.
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:
SQL query builders
2 projects | dev.to | 28 Jul 2021
Alternatively, when we're using an ORM or query builder (for Go, I like to use squirrel), adding the correct 'WHERE' and 'AND' terms is handled automatically. A small convenience that we could do ourselves, but then we'll find ourselves building our own in-house micro-query-builder.
Has anybody moved from Django (python) to any of the Go backend frameworks?
7 projects | reddit.com/r/golang | 10 Jun 2021
No such library exists for Go unfortunately, though any query builder is better than an ORM - i.e. [Squirrel](https://github.com/Masterminds/squirrel).
what's your experience writing sql with go?
4 projects | reddit.com/r/golang | 2 Jun 2021
For programatically built SQL statements, I like: https://github.com/Masterminds/squirrel
Microservices in Go: Accessing PostgreSQL - Statements Builder and Code generators
2 projects | dev.to | 31 Mar 2021
Masterminds/squirrel is a package that allows you to generate SQL statements using a fluent API, it also supports making database calls directly using those built statements.
ORM FOR GO
12 projects | reddit.com/r/golang | 17 Mar 2021
In that regard, I think https://github.com/Masterminds/squirrel is great.
zlog: Secure logger in Go to prevent output of sensitive/secret values
5 projects | dev.to | 1 Nov 2021
Some famous existing libraries that support structured logging are zap, logrus, zerolog, but none of them implement such a function to hide the secret value.
Some Go(lang) tips
4 projects | dev.to | 2 Oct 2021
What to use I prefer zerolog, but zap isn't bad either. Both boast zero-allocation, which is what you want for a task that should have the smallest possible impact on your application.
Migrating from PHP to Go
https://github.com/uber-go/zap for logging. This logger is fast. You might not think that's important, but when we moved from Logrus to Zap we saw a noticeable difference in performance of some high-traffic applications.
What are your favorite packages to use?
55 projects | reddit.com/r/golang | 15 Aug 2021
Zap Levelled logging
Naive question, when do you use fmt instead of a log?
4 projects | reddit.com/r/golang | 3 Aug 2021
advanced logging packages like zerolog or zap allow you to handle your logs in a more flexible manner, e.g. you may set different severity levels and suppress some messages you don't need at the moment or send the same log line to different outputs.4 projects | reddit.com/r/golang | 3 Aug 2021
Here is link number 1 - Previous text "zap"
Building Microservices in Go: OPenTelemetry
3 projects | dev.to | 15 Jul 2021
OpenTelemetry support for logs in Go, to date, is not implemented yet, however I'm still showing you how to log data using Uber's zap.
How do you do logging?
1 project | reddit.com/r/golang | 17 Jun 2021
My opinionated way to write and test a go http server
3 projects | dev.to | 4 May 2021
What are some alternatives?
logrus - Structured, pluggable logging for Go.
zerolog - Zero Allocation JSON Logger
glog - Leveled execution logs for Go
goqu - SQL builder and query library for golang
sqlx - general purpose extensions to golang's database/sql
go-log - a golang log lib supports level and multi handlers
GORM - The fantastic ORM library for Golang, aims to be developer friendly
InfluxDB - Scalable datastore for metrics, events, and real-time analytics
log - Structured logging package for Go.
seelog - Seelog is a native Go logging library that provides flexible asynchronous dispatching, filtering, and formatting.
lumberjack - lumberjack is a log rolling package for Go
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.