Best practice for separating DB models from API models?

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
  1. go-data-access-example

    This is an example of data access layer and interfaces in go.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. backend-takehome-telegraph

    Simple REST api hydrated by CSV files

  4. copier

    Copier for golang, copy value from struct to struct and more

    When the internal model and the API model are pretty much the same, you might simply copy the result from one struct to another using e.g. https://github.com/jinzhu/copier

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 do you deep copy a struct with slice of structs to another

    1 project | /r/golang | 18 Aug 2021
  • Go High-Performance Cache with TTL and Disk Persistence

    1 project | dev.to | 13 Aug 2024
  • Wasify - Easy WASM development for the backend

    1 project | /r/golang | 6 Nov 2023
  • I built a local Laravel dev environment that doesn't require PHP at all

    1 project | /r/laravel | 4 Jul 2023
  • Working with JSON in Go: A Comprehensive Guide

    1 project | /r/golang | 5 Jan 2023

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