Go Typesafe

Open-source Go projects categorized as Typesafe

Top 8 Go Typesafe Projects

  1. lo

    💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)

    Project mention: 5 Essential Go Utility Functions: Filter, Map, and More (With Examples) | dev.to | 2025-12-03
  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. jet

    Type safe SQL builder with code generation and automatic query result data mapping

  4. mo

    🦄 Monads and popular FP abstractions, powered by Go 1.18+ Generics (Option, Result, Either...)

  5. do

    ⚙️ A dependency injection toolkit based on Go 1.18+ Generics.

    Project mention: "do" v2.0 – Dependency injection for Go | news.ycombinator.com | 2025-09-25

    `do` builder here

    After 2y in beta, I’ve just released v2 of “do”, the dependency injection toolkit for Golang.

    This major version introduces a new scope-based architecture, transient services, interface binding, improved dependency tracking, and circular dependency detection.

    Error handling and service naming are more consistent, and based on your feedback, a troubleshooting UI has been added.

    A new LLM-ready documentation is available, featuring numerous demos you can run in 1 click: https://do.samber.dev/

    Read the full changelog here: https://github.com/samber/do/releases/tag/v2.0.0

    Migration from v1: https://do.samber.dev/docs/upgrading/from-v1-x-to-v2

  6. go-queryset

    100% type-safe ORM for Go (Golang) with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support. GORM under the hood.

  7. hooks

    Simple, type-safe hook system to enable easier modularization of your Go code. (by mikestefanello)

  8. gofn

    High performance utility functions using Generics (by tiendc)

  9. gfn

    A lightweight Golang generics library that provides Map, Reduce and more...

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Typesafe discussion

Log in or Post with

Go Typesafe related posts

  • Feedback request - Laravel query builders generator package.

    1 project | /r/laravel | 3 Jan 2021

Index

What are some of the best open-source Typesafe projects in Go? This list will help you:

# Project Stars
1 lo 21,314
2 jet 3,709
3 mo 3,358
4 do 2,747
5 go-queryset 730
6 hooks 98
7 gofn 52
8 gfn 17

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Go is
the 4th most popular programming language
based on number of references?