Golang Blueprint Library

December 11, 2023

Go Blueprint is a CLI tool that allows users to spin up a Go project with the corresponding structure seamlessly.

Installation

go install github.com/melkeydev/go-blueprint@latest

Usage

Then in a new terminal run:

go-blueprint create
Go Blueprint CLI Interface

Blueprint CLI Interface

Project Structure

Generated Project Structure

Generated Project Structure

Generated Files

Generated Project Files

Generated Project Files

Features

  • Standard Go project layout
  • Common directories pre-created
  • Basic configuration files
  • Docker setup
  • Makefile included

Directory Structure Overview

Directory Purpose
/cmd Main applications
/internal Private application code
/pkg Public library code
/api API definitions

Benefits

  • Consistent project structure
  • Quick project setup
  • Best practices included
  • Development ready configuration
  • Time-saving automation
#Golang #CLI #Tools #Development