goforge

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 1 Imported by: 0

README

goforge

Opinionated CLI/TUI tool for generating Go backend service boilerplate

Overview

Inspired by the fact that I hate rewriting and copy pasting code that I have already written before, so I decided to create a CLI tool to generate the needed files and folder structure to quickly create a new backend service.

The idea is that these are backend services (like microservices), not an entire backend monolith implementation. For starters though this generates a good strtucture, but for it to be an entire monolith it would need to require extra setup from yourself.

P.S. This was encountered while working on fáfnir.

Installation

goforge can be installed on Windows or Linux, WSL, Git Bash:

Install via cURL on Linux, WSL, or Git Bash:

curl -fsSL https://raw.githubusercontent.com/andrearcaina/goforge/main/install.sh | sh

Install via Powershell on Windows:

irm https://raw.githubusercontent.com/andrearcaina/goforge/main/install.ps1 | iex

Or via Go (requires Go 1.24.5 or later):

go install github.com/andrearcaina/pathfinder@latest
TODO

In no particular order:

  • Allow different server type boilerplates
    • REST (go-chi)
    • gRPC (grpc-go)
    • GraphQL (gqlgen)
  • Add SQLc support flag
    • Potentially add a docker-compose file to spin up a PostgreSQL instance
  • Interactive UI for when certain flags are not provided
  • Add installation scripts for both Windows and Linux

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
ui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL