MyGit
🚩收到GitHub仓库的更新通知

Melkeydev/go-blueprint

Fork: 141 Star: 2053 (更新于 2024-05-20 14:06:13)

license: MIT

Language: Go .

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

最后发布版本: v0.5.13 ( 2024-05-13 20:53:51)

GitHub网址

✨免费申请网站SSL证书,支持多域名和泛域名,点击查看

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

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:

Blueprint UI

Blueprint UI is a web application that allows you to create commands for the CLI and preview the structure of your project. You will be able to see directories and files that will be created upon command execution. Check it out at go-blueprint.dev

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

Advanced features can be enabled using the --feature flag along with the --advanced flag.

For HTMX:

go-blueprint create --advanced --feature htmx

For the CI/CD workflow:

go-blueprint create --advanced --feature githubaction

For the websocket:

go-blueprint create --advanced --feature websocket

Or all features at once:

go-blueprint create --name my-project --framework chi --driver mysql --advanced --feature htmx --feature githubaction --feature websocket

Advanced Options

Visit documentation to learn more about blueprint and its features.

Github Stats

Alt

License

Licensed under MIT License

最近版本更新:(数据更新于 2024-05-20 14:05:38)

2024-05-13 20:53:51 v0.5.13

2024-04-11 07:31:14 v0.5.12

2024-04-02 21:45:17 v0.5.11

2024-03-25 00:45:25 v0.5.10

2024-03-14 22:24:44 v0.5.9

2024-03-09 00:29:54 v0.5.8

2024-02-21 05:47:13 v0.5.7

2024-02-08 02:44:35 v0.5.6

2024-02-05 05:26:07 v0.5.5

2024-01-21 02:27:42 v0.5.4

Melkeydev/go-blueprint同语言 Go最近更新仓库

2024-05-19 09:38:45 initia-labs/initia

2024-05-18 23:53:18 usememos/memos

2024-05-18 17:58:05 SagerNet/sing-box

2024-05-18 06:38:00 dolthub/dolt

2024-05-18 04:35:49 containerd/containerd

2024-05-18 02:28:56 aws/aws-sdk-go