Skip to content
/ gog Public
forked from MohamedAlosaili/gog

A command-line tool to quickly scaffold new Go projects with a standardized structure and configuration.

Notifications You must be signed in to change notification settings

aalkhodiry/gog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gog - Go Generator CLI

A command-line tool to quickly scaffold new Go projects with a standardized structure and configuration.

Features

  • Creates a new Go project with a single command
  • Sets up proper module naming and directory structure
  • Initializes git repository
  • Configures go modules automatically
  • Installs dependencies

Installation

You can install gog directly using Go:

go install github.com/mohamedalosaili/gog@latest

Path Setup (for Linux/macOS)

After installation, ensure the Go bin directory is in your PATH:

Add this line to your ~/.bashrc, ~/.zshrc, or equivalent shell configuration file: open ~/.bashrc/~/.zshrc file

nano ~/.bashrc
#or
nano ~/.zshrc

Add this line to the file:

export PATH=$PATH:$(go env GOPATH)/bin

Usage

gog new <project-name>

About

A command-line tool to quickly scaffold new Go projects with a standardized structure and configuration.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.5%
  • Just 1.5%