Skip to content

Go-blueprint allows users to spin up a quick Go project using a popular framework

License

Notifications You must be signed in to change notification settings

Jibbscript/go-blueprint

 
 

Repository files navigation

logo

Introducing the Ultimate Golang Blueprint Library

Go Blueprint is a CLI tool that allows users to spin up a Go project with the corresponding structure seamlessly. It also gives the option to integrate with one of the more popular Go frameworks (and the list is growing with new features)!

Why Would I 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

Check the official Go-blueprint docs.

Table of Contents

Install

go install github.com/melkeydev/go-blueprint@latest

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

Then in a new terminal run:

go-blueprint create

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

go-blueprint create --name my-project --framework gin --driver postgres

See go-blueprint create -h for all the options and shorthands.

Frameworks Supported

Database Support

Go Blueprint now 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

Blueprint 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 Example

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

go-blueprint create --name my-project --framework gin --driver postgres

Starter Image

Advanced features are accessible with the --advanced flag

go-blueprint create --advanced

Starter Image

Github Stats

Alt

License

Licensed under MIT License

About

Go-blueprint allows users to spin up a quick Go project using a popular framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.8%
  • Shell 0.2%