go-blueprint

command module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 1 Imported by: 0

README ¶

 ____  _                       _       _
|  _ \| |                     (_)     | |
| |_) | |_   _  ___ _ __  _ __ _ _ __ | |_
|  _ <| | | | |/ _ \ '_ \| '__| | '_ \| __|
| |_) | | |_| |  __/ |_) | |  | | | | | |_
|____/|_|\__,_|\___| .__/|_|  |_|_| |_|\__|
                    | |
                    |_|

🚀 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

Install

  • Brew install :
brew install Melkeydev/melkey/go-blueprint
  • Go 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

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

Starter Image Framework Image

Frameworks Supported

Database Drivers Supported

License

Licensed under MIT License

Documentation ¶

The Go Gopher

There is no documentation for this package.

Directories ¶

Path Synopsis
cmd
program
Package program provides the main functionality of Blueprint
Package program provides the main functionality of Blueprint
steps
Package steps provides utility for creating each step of the CLI
Package steps provides utility for creating each step of the CLI
template/framework
Package template provides utility functions that help with the templating of created files.
Package template provides utility functions that help with the templating of created files.
ui/multiInput
Package multiInput provides functions that help define and draw a multi-input step
Package multiInput provides functions that help define and draw a multi-input step
ui/textinput
Package textinput provides functions that help define and draw a text-input step
Package textinput provides functions that help define and draw a text-input step
utils
Package utils provides extra utility for the program
Package utils provides extra utility for the program

Jump to

Keyboard shortcuts

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