Skip to content

mahibulhaque/gofast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gofast

Introducing the Ultimate Golang Starter Library

A simple golang library, now available in your favourite terminal. Start new golang project from structured workflows of your choice.

Why should you use this?

  • Easy to set up and install
  • Have the entire Go structure already established
  • Setting up a Go HTTP server (or Fasthttp with Fiber)
  • Integrate with a popular frameworks
  • Focus on the actual code of your application

Installation

go install github.com/mahibulhaque/gofast@latest

This installs a go binary that will automatically bind to your $GOPATH

if you’re using Zsh, you’ll need to add it manually to ~/.zshrc.

GOPATH=$HOME/go  PATH=$PATH:/usr/local/go/bin:$GOPATH/bin

don't forget to update

source ~/.zshrc

Then in a new terminal run:

gofast create

You can also use the provided flags to set up a project without interacting with the UI.

gofast create --name myproject --framework chi --driver postgres --git skip

See gofast create -h for all the options and shorthands cli flags.

Frameworks

Database

Gofast offers enhanced database support, allowing you to choose your preferred database driver during project setup. Use the --driver or -d flag to specify the database driver you want to integrate into your project.

Supported Database Drivers

Choose from a variety of supported database drivers:

Advanced Features

The tool is focused on being as minimalistic as possible. That being said, we wanted to offer the ability to add other features people may want without bloating the overall experience.

You can now use the --advanced flag when running the create command to get access to the following features. This is a multi-option prompt; one or more features can be used at the same time:

Usage

Here's an example of setting up a project with a specific database driver:

gofast create --name myproject --framework chi --driver postgres --git commit

About

Gofast a tool spin up Golang projects with some of the popular frameworks

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors