Comparing Go ORMs for PostgreSQL: GORM vs Ent vs Bun vs sqlc
A practical, code-heavy look on ORMs in GO
Most prominent ORMs for GO are GORM, Ent, Bun and sqlc. Here is a little comparison of them with examples of CRUD operations in pure GO.
A practical, code-heavy look on ORMs in GO
Most prominent ORMs for GO are GORM, Ent, Bun and sqlc. Here is a little comparison of them with examples of CRUD operations in pure GO.
Longread about MCP scpecs and implementation in GO
Here we have a description of The Model Context Protocol (MCP), short notes on how to implement an MCP server in Go, including message structure, protocol specifications.
Implementing RAG? Here are some Go code bits - 2...
Since standard Ollama doesn’t have a direct rerank API, you’ll need to implement reranking using Qwen3 Reranker in GO by generating embeddings for query-document pairs and scoring them.
Implementing RAG? Here are some codesnippets in Golang..
This little Reranking Go code example is calling Ollama to generate embeddings for the query and for eache candidate document, then sorting descending by cosine similarity.
OK. Now generating PDFs in GO!
Generating PDF documents programmatically can be an important feature in your application. Here we explore and give short review with examples of the libraries available in the Go programming language (Golang) for generating PDF files.
Continuing the topic of extracting data from html
If you’re looking for a Beautiful Soup equivalent in Go, several libraries offer similar HTML parsing and scraping functionality:
With the release of new pg driver AutoMigrate is throwing errors...
In my new Go project that was using GORM I started getting error:
pq: got 2 parameters but the statement requires 1
Based on VS Code extentions install count
I aggregated some VS Code extentions installation statistics by different programming languages. And the most popular is Python. Then C++.
Visual Studio Code Cheatsheet is here
GORM vs sqlc vs Ent vs Bun
Go’s ecosystem offers a range of ORM (Object-Relational Mapping) tools and database libraries, each with its own philosophy. Here is a comprehensive comparison of four major solutions for using PostgreSQL in Go: GORM, sqlc, Ent, and Bun.
Which language to use for AWS lambda?
We can write lambda function for deployment to AWS in several languages. Let’s compare the performance of (almost empty) functions written in JavaScript, Python and Golang…
Regularly happens
Need to have some standard post-install task sequence for the reference, so recording it here.
Useful golang commands and constructs
Here’s basic Go program structure, error handling patterns and channels vs goroutines comparison.