Awesome Go

gozen

CategoryCommand Line
SubcategoryStandard CLI
Stars4

gozen is a simplified golang MVC framework to generate projects and components with Support of REST, gRPC etc. Higly customizable and easy to add any api layer or worker

About gozen

gozen

Gozen is a fast, cross-platform CLI tool designed to eliminate repetitive boilerplate and jumpstart backend development in Go. With a single command, Gozen scaffolds production-grade Go applications built on a clean Model-View-Controller (MVC) architectural pattern—complete with pre-configured database connectivity, dependency wiring, and standard project layouts.

Read project documentation for more information here: Documentation.

Banner

Key Features

  • Instant MVC Scaffolding: Generates organized, maintainable folder structures separating data models, controllers, and application configuration.
  • Turnkey Database Setup: Automatically wires database drivers, pool configurations, and environment loaders with zero manual stitching.
  • Module-Ready Initialization: Sets up your Go module paths (github.com/user/app) directly during creation, ensuring clean imports out of the box.
  • Cross-Platform Support: Ships as a lightweight, zero-dependency standalone binary compiled natively for Linux, macOS, and Windows.

Installation

Download and install executable binary from GitHub releases page.

Linux Installation

# Use latest tag name from release page
TAG=<tag-name>

curl -sL "https://github.com/tech-thinker/gozen/releases/download/${TAG}/gozen-linux-amd64" -o gozen
chmod +x gozen
sudo mv gozen /usr/bin

MacOS Installation

# Use latest tag name from release page
TAG=<tag-name>

curl -sL "https://github.com/tech-thinker/gozen/releases/download/${TAG}/gozen-darwin-amd64" -o gozen
chmod +x gozen
sudo mv gozen /usr/bin
  • Or using homebrew
brew tap tech-thinker/tap
brew install gozen

Windows Installation

# Use latest tag name from release page
TAG=<tag-name>

curl -sL "https://github.com/tech-thinker/gozen/releases/download/${TAG}/gozen-windows-amd64.exe" -o gozen.exe
gozen.exe

Verify checksum

# Use latest tag name from release page
TAG=<tag-name>

# Using sha256sum
curl -sL "https://github.com/tech-thinker/gozen/releases/download/${TAG}/checksum-sha256sum.txt" -o checksum-sha256sum.txt
sha256sum --ignore-missing --check checksum-sha256sum.txt

# Using md5sum
curl -sL "https://github.com/tech-thinker/gozen/releases/download/${TAG}/checksum-md5sum.txt" -o checksum-md5sum.txt
md5sum --ignore-missing --check checksum-md5sum.txt

Output:

gozen-darwin-amd64: OK
gozen-darwin-amd64.tar.gz: OK
gozen-darwin-arm64: OK
gozen-darwin-arm64.tar.gz: OK
gozen-linux-amd64: OK
gozen-linux-amd64.tar.gz: OK
gozen-linux-arm: OK
gozen-linux-arm.tar.gz: OK
gozen-linux-arm64: OK
gozen-linux-arm64.tar.gz: OK
gozen-windows-amd64.exe: OK
gozen-windows-i386.exe: OK

CLI Guide

  • gozen help
gozen -h
  • Create new project
gozen create -d <database-driver> -p github.com/<username>/<appname> <appname>

Note: database-driver is one of postgres, mysql, sqlite.

  • Chenge directory to new project directory
cd <appname>
  • Install dependencies
go mod tidy
  • Change .env file as per your requirements and export .env.
export $(cat .env | xargs)
  • Run project
go run main.go start

Frequently Asked Questions

What is gozen?

gozen is a Command Line library for the Go programming language. gozen is a simplified golang MVC framework to generate projects and components with Support of REST, gRPC etc. Higly customizable and easy to add any api layer or worker

How do I install gozen?

Install gozen with the Go module system using `go get tech-thinker/gozen`. Check the repository for the current installation instructions.

What category does gozen belong to?

gozen is listed under Command Line, specifically Standard CLI.

← Back to Standard CLI