bqb
logrus
Our great sponsors
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.
bqb
-
Are there any decent ORMs in Golang?
But using a query builder, something like squirrel or (plug) bqb, allows you to actually write SQL (or something close to it) when you need it but also handles the nasty string building bits. Though I agree that ORMs are not always bad, especially for small projects with well-defined scope.
- Examples of Good Go Repos
-
GORM
Plug for bqb as a query builder, but there's also squirrel which works pretty well too.
-
Best packages?
(plug) bqb for very simple query building.
-
ORM vs SQL Builder in Go
Squirrel is great! Let me also plug bqb.
-
Open Source Go Projects for learning go
Plug: BQB (basic query builder) is small, 100% test coverage, and in AwesomeGo. A great starter project.
-
Where to find a virtual or local Go mentor?
I totally understand this. If you do go with a query builder, may I recommend bqb (shameless plug) as it allows you to remain closer to the SQL than some alternatives and doesn't do anything fancy. We stripped out 50% of our query logic with it in our org, which has enabled us to more readily tweak the SQL for performance.
-
Does gorm worth learning?
There's also bqb. We use it in production at our company -- much better than raw SQL. If you couple it with something like scany then you get more of the ORM benefits without the complexity.
-
Any "simple" projects with particularly well-written and/or well-documented code for a beginner to look through?
Another shameless plug: https://github.com/nullism/bqb pretty tiny query builder with 100% test coverage
-
bqb VS Squirrel - a user suggested alternative
2 projects | 9 Sep 2021
logrus
-
Authentication system using Golang and Sveltekit - Initialization and setup
It's some sort of logging system well explained by Alex Edwards in Let’s Go Further. As stated, we could have used logrus or any other popular logging system in Go.
- What is the common log library which is industry standard that is used in server applications?
-
Best Logging Library for Golang
For choosing the candidates for the poll, I didn't do any thorough research. I was looking for a library to use in my project at work, and I ended up at sirupsen/logrus which was already being used by one of the dependencies in that project.
-
Sourcehut will blacklist the Go module mirror
If they change the case on their username on the other hand, the Go ecosystem explodes: https://github.com/sirupsen/logrus/issues/570#issuecomment-3...
-
Lies we tell ourselves to keep using Golang
Like, for example, some projects importing logrus with a capital L and some with a lowercase L, and go modules having no way to reconcile the two: https://github.com/sirupsen/logrus/issues/553
-
go-coffeeshop - A practical coffee shop application event-driven microservices built with Golang
Ugh. Wish people would stop using logrus. It’s in maintenance mode and slow, especially its stack tracing.
- Criando uma API Rest com Fiber - Uma história pessoal de aprendizado
-
Restful API with Golang practical approach
logrus: Logrus is a structured logger for Go (golang), completely API compatible with the standard library logger. (https://github.com/sirupsen/logrus)
-
Trying to Configure checkpoint for Fast syncing.Error in Command :-go run prysm/cmd/prysmctl/checkpointsync download --beacon-node-host=http://localhost:3500
..\Softwares\go\src\prysm\cmd\prysmctl\checkpointsync\download.go:9:2: cannot find package "github.com/sirupsen/logrus" in any of:
-
Powerful template for CLI projects in Go 🐹
Preconfigured logging with logrus
What are some alternatives?
zap - Blazing fast, structured, leveled logging in Go.
zerolog - Zero Allocation JSON Logger
glog - Leveled execution logs for Go
lumberjack - lumberjack is a log rolling package for Go
slog
log15 - Structured, composable logging for Go
seelog - Seelog is a native Go logging library that provides flexible asynchronous dispatching, filtering, and formatting.
log - Structured logging 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.
go-log - a golang log lib supports level and multi handlers
spew - Implements a deep pretty printer for Go data structures to aid in debugging
logutils - Utilities for slightly better logging in Go (Golang).