Github template for Golang services

This page summarizes the projects mentioned and recommended in the original post on dev.to

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

    Generate type-safe code from SQL

    For this matter I chose sqlc which offers a good amount of features like support for different dbs and db drivers. Regarding db migrations, I prefer to run them isolated from the code. There are countless tools to manage migrations but recently I've been sticking with go-migrate which also provides a go library in case I want to integrate the migrations into the code.

  • SaaSHub

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

    SaaSHub logo
  • migrate

    Database migrations. CLI and Golang library.

    For this matter I chose sqlc which offers a good amount of features like support for different dbs and db drivers. Regarding db migrations, I prefer to run them isolated from the code. There are countless tools to manage migrations but recently I've been sticking with go-migrate which also provides a go library in case I want to integrate the migrations into the code.

  • gosec

    Go security checker

    A github actions workflow is provided to run go fmt, vet, test and gosec. An initial configuration for dependabot is also provided.

  • template-go-service

    Golang service template

    That's it, go take a look at the repo here.

  • dbml

    Database Markup Language (DBML), designed to define and document database structures

    I have recently adopted the practice of defining my db schemas using dbml and generating the sql code using their CLI tool. Example: This schema

  • Task

    A task runner / simpler Make alternative written in Go

    Developer experience is a very important topic to me and I decided to use this project to find a reliable alternative to make. And that's how I found Task:

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

  • GORM

    16 projects | /r/golang | 16 Feb 2023
  • DB schema management strategy (migrations)

    4 projects | /r/golang | 25 Oct 2022
  • Best packages?

    11 projects | /r/golang | 16 Oct 2022
  • Embedded database options

    10 projects | /r/golang | 18 May 2022
  • We Went All in on Sqlc/Pgx for Postgres and Go

    31 projects | news.ycombinator.com | 8 Sep 2021

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