lucassouzavieira / go-base

Personal base template for Golang projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test Go Report Card

Standard Go Project Layout

Overview

This is a basic layout for Go application projects. It's based on https://github.com/golang-standards/project-layout recommendations.

Make commands

  • make init
    Inits the repository removing undesirable files and update dependencies.

  • make build
    Builds the application. Executables are put into build directory

  • make docker-build
    Builds the docker image

  • make proto
    Generate the protobuf stubs from proto definitions

  • make test
    Run all project tests

About

Personal base template for Golang projects

License:MIT License


Languages

Language:Go 56.6%Language:Makefile 32.7%Language:Dockerfile 10.7%