goforge

command module
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 1 Imported by: 0

README

GoForge

GoForge is a command-line interface (CLI) tool designed to streamline the setup of new API projects for Go developers.

With GoForge, you can quickly generate a well-structured project skeleton, allowing you to focus on writing actual code rather than spending time on boilerplate setup.

Installing the tool

To install the GoForge tool, use the following command:

go install github.com/tz3/goforge@latest

Ensure that the binary is in your $GOPATH. If it is not, you may need to add it manually.

Running the application

To create a new project using GoForge, open your terminal and execute:

goforge create

You can also set up a project without interacting with the UI by using flags. For example, to create a project named "my-project" with the Gin framework, use:

goforge create --title my-project --framework standard-library

For a full list of options and shorthands, run:

goforge create -h

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
Package cmd provides the command line interface for the application.
Package cmd provides the command line interface for the application.
internal
project
Package project provides the functionality for creating a new Go project.
Package project provides the functionality for creating a new Go project.
steps
Package steps defines the steps involved in setting up a Go project.
Package steps defines the steps involved in setting up a Go project.
templates
Package template provides a set of templates for the main function, HTTP server, README, and Makefile.
Package template provides a set of templates for the main function, HTTP server, README, and Makefile.
templates/web
Package web provides a set of templates for the specified web router.
Package web provides a set of templates for the specified web router.

Jump to

Keyboard shortcuts

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