nowfound

Dev tools · alternatives · 2026

24 alternatives to GoSMig – minimal, type-safe SQL migrations written in Go

I built GoSMig for my own projects and open-sourced it in case it helps others. It’s a tiny generic library (no external deps except golang.org/x/term) for writing SQL migrations in Go with compile-time checks. It supports transactional and non-transactional migrations, rollback, status, version, and a small CLI handler so you can ship your own migration binary. Why another migrator? - Minimal API, no DSL or file layout to learn - Type-safe via Go generics - Works with database/sql and sqlx out of the box - Should work with any db library (or wrapper) that implements some…

Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes.

  1. 1

    Recently created a minimal persistent relational database in Go. Main focus was on implementing & understanding working the of database, storage management & transaction handling. Use of B+ Tree for storage engine(support for indexing), managing a Free List (for reusing nodes), Support for transactions, Concurrent Reads. Still have many things to add & fix like query processing being one of the main & fixing some bugs Repo link - https://github.com/Sahilb315/AtomixDB Would love to hear your thoughts

    2025 · github.com · its alternatives →

  2. 2

    A SQL database implemented purely in TypeScript type annotations. - codemix/ts-sql

    2020 · github.com · its alternatives →

  3. 3

    Hello HN, I've just released a new migration tool for Go that mimics the functionality of Ruby on Rails migrations. It's designed to help Go developers manage database schema changes with ease. This allows you several benefits: - Write type-safe migrations - Auto down of migrations whenever it's possible - Easy backfill even with business logic because it's Go code - Painless integration with existing schema - sql.DB compatible and driver agnostic (it uses your driver) I have a pretty complete API to manage Postgres schema and I am working on the SQLite one (a little more complicated due to…

    2024 · github.com · its alternatives →

  4. 4SC
  5. 5

    SQL builder and powerful database toolkit for Golang - colinjfw/sqlkit

    2019 · github.com · its alternatives →

  6. 6

    I've always been curious about how SQL engines actually work. So I built a minimum viable SQL engine in Go. - Supports CSV files as tables - Supports SELECT, FROM, WHERE, LIMIT It's very simple: 1. Parses query string 2. Converts it into an AST representation 3. Executes the query against the CSV 4. Returns the results

    2024 · github.com · its alternatives →

  7. 7

    go generate based graphql server library. Contribute to 99designs/gqlgen development by creating an account on GitHub.

    2018 · github.com · its alternatives →

  8. 8

    No gc, No goroutines, Produces small binaries while using the unmodified official go toolchain, and comes with complete Web SDK (generated from w3c/webref). We are building `pcz` to provide a reimagination of Go the language, in an effort to make it suitable for all kinds of programming tasks, and currently you can use it to build efficient web applications in Go using the generated Web SDK (as shown with the live web demo[1]). The journey is just starting, any suggestions? or any critics? [1]: https://primecitizens.github.io/livedemos/10-plat-web/

    2023 · github.com · its alternatives →

  9. 9KA

    The most powerful type-safe SQL query builder for TypeScript

    2023 · kysely.dev · its alternatives →

  10. 10

    An alternative to stack traces for your Go errors. Contribute to bracesdev/errtrace development by creating an account on GitHub.

    2023 · github.com · its alternatives →

  11. 11
    Metana▲59

    Task migration tool written in Go for Golang services

    2021 · github.com · its alternatives →

  12. 12

    A Go SQL query builder and struct mapper. Contribute to samonzeweb/godb development by creating an account on GitHub.

    2016 · github.com · its alternatives →

  13. 13

    A simple utility for running exhaustiveness checks on Go "sum types." - BurntSushi/go-sumtype

    2017 · github.com · its alternatives →

  14. 14GA

    I wanted to build a persistent message queue based on SQLite, because that's what I'm using for my main state anyway. This gives me ACID across state and messaging, which is nice! I've been inspired by the terminology of AWS SQS for this, but it's obviously much simpler. Maybe you can use it too. :)

    2024 · goqite.com · its alternatives →

  15. 15

    A pure ORM for writing native SQL queries yielding pure business objects - craigmichaelmartin/pure-orm

    2021 · github.com · its alternatives →

  16. 16
    SafeQL▲69

    Write SQL queries with confidence

    2022 · its alternatives →

  17. 17

    Hey HN, I just published v0.1.0 of go-bt and would love some feedback from the Go veterans here. Thanks in advance!

    Apr 2026 · github.com · its alternatives →

  18. 18

    A simple and language-independent SQL schema migration tool - elwinar/rambler

    2016 · github.com · its alternatives →

  19. 19

    Types generator for your Bun.sql queries. Contribute to ilbertt/bun-sqlgen development by creating an account on GitHub.

    Jun 2026 · github.com · its alternatives →

  20. 20

    I spent the past 2 weeks making this toy programming language. I basically forked the Go scanner/parser, and changed the syntax to have functions return a single value. This enable proper Result/Option type to be used as well as propagating errors with an operator. I also wanted to have short "type inferred" anonymous functions to be able to use functions like Map/Reduce/Filter, without having to use 100 characters to specify the types.

    2025 · github.com · its alternatives →

  21. 21

    LBADD: An experimental, distributed SQL database. Contribute to tomarrell/lbadd development by creating an account on GitHub.

    2019 · github.com · its alternatives →

  22. 22

    Minimal and idiomatic WebSocket library for Go. Contribute to coder/websocket development by creating an account on GitHub.

    2019 · github.com · its alternatives →

  23. 23

    I make a no-CGO Go SQLite driver, by compiling the amalgamation to Wasm, then loading the result with wazero (a CGO-free Wasm runtime). To compile SQLite, I use wasi-sdk, which uses wasi-libc, which is based on musl. It's been said that musl is slow(er than glibc), which is true, to a point. musl uses SWAR on a size_t to implement various functions in string.h. This is fine, except size_t is just 32-bit on Wasm. I found that implementing a few of those functions with Wasm SIMD128 can make them go around 4x faster. Other functions don't even use SWAR; redoing those can make them 16x faster.…

    2025 · github.com · its alternatives →

  24. 24

    We built Gonzo to make log analysis faster and friendlier in the terminal. Think of it like k9s for logs — a TUI that can ingest JSON, text, or OpenTelemetry (OTLP) logs, highlight and boil up patterns, and even run AI models locally or via API to summarize logs. We’re still iterating, so ideas and contributions are welcome!

    2025 · github.com · its alternatives →

Also compare

Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →