SQL Transactions with Repository/Clean Architecture Pattern

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • diygoapi

    A Go RESTful API template

  • I have been working on a project called go-api-basic for a while now and setup what I think is a decent way of implementing transactions. In my datastore package I have a Datastorer interface, with a DB() method to return the sql.DB, a BeginTx method to begin a Transaction, a RollbackTx method to rollback a transaction and a CommitTx method for committing. The Datastore struct implements this interface and has appropriate error handling, etc. In my controller package, you can see how I use this towards the end of the CreateMovie method. I've actually been working on this thing for 3.5 years and this is the first time I've ever posted on reddit about it haha, hope it helps.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
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

  • How I Error - 2 years later

    1 project | /r/golang | 6 Feb 2023
  • Structuring a Golang API

    1 project | /r/CodingHelp | 9 Sep 2021
  • Show HN: API Gateway with SQL support, written in Go

    1 project | news.ycombinator.com | 1 Aug 2022
  • [REPOST]-Bring AI to slackbots with Dialogflow CX!

    1 project | dev.to | 23 Oct 2021
  • This Hacktober, contribute to bringing Conversational AI - Dialogflow CX to Slack!

    1 project | dev.to | 30 Sep 2021