Golang equivalent of MyBatis/iBatis

This page summarizes the projects mentioned and recommended in the original post on /r/golang

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

    Go ORM Library.Have Powerful Features like transaction nesting, Optimistic Lock,Logical deletion and more. like mybatis for go golang

    In Java world there's a thing which is called MyBatis/iBatis. It's not ORM, but much lighter weight solution. It allows you to map SQL results on structures and back without complicated logic, thus reducing a lot of boilerplate. Is there anything similar for GoLang? The closest I found is sqlx. There's also Go port of MyBatis: https://github.com/zhuxiujia/GoMybatis, however, it doesn't have many stars.

  • SaaSHub

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

    SaaSHub logo
  • structable

    Golang struct-to-table database mapper

    Check this out https://github.com/Masterminds/structable

  • sqlc

    Generate type-safe code from SQL

    I guess not the same, but have you looked at sqlc for an SQL-first alternative?

  • sqlx

    general purpose extensions to golang's database/sql

    You can use this https://github.com/jmoiron/sqlx

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Does sqlc/sqlx support MS-SQLServer? All examples for sqlc with postgres and mysql

    2 projects | /r/golang | 23 Feb 2023
  • psql driver that supports the sql.NamedArgs & sql.Named?

    2 projects | /r/golang | 24 Apr 2022
  • The DDD Hamburger for Go

    2 projects | dev.to | 6 Jan 2024
  • Restful API with Golang practical approach

    9 projects | dev.to | 17 Oct 2022
  • Dapper-like ORM, Mapping

    9 projects | /r/golang | 6 Oct 2022

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