Skip to content

Go template builder

License

pedrobertao/gotemplater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot 2025-05-29 at 18 44 56

📦 Description

A fast and flexible CLI tool to generate Go project structures from embedded templates.
Choose a template interactively and start building your app immediately.

Screenshot 2025-05-29 at 18 38 58

📦 Installation

go install -u github.com/pedrobertao/gotemplater

📦 How to use

gotemplater
- Choose name
- Choose template
Done !

✨ Features

  • 📦 Interactive CLI: choose a template by number
  • 🔐 Embedded templates using Go's embed.FS — no external files needed
  • 📁 Prebuilt templates for:
    • Simple Web API
    • Web API + MongoDB
    • Web API + PostgreSQL
    • Web API + SQLite
  • 🧪 Auto-generated structure with handlers, services, repositories, and tests
  • 🐳 Optional Docker and docker-compose support

About

Go template builder

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Languages