create-go-app

0.1.22 • Public • Published

create-go-app

help you create go app with app-stub template.

npx

npx create-go-app demo

yarn

yarn create go-app demo

pnpm

pnpm create go-app demo
pnpm dlx create-go-app demo

About demo app

  1. Build from source
go build -ldflags "-s -w" -buildmode=exe -tags release -o bin/demo
  1. Create config
bin/demo config

Note: Please modify config.json as you need.

  1. Start your app
bin/demo serve

Note: Default config is use network: unix, you can change network to tcp and addr to 127.0.0.1:5000 for test.

Getting Started

Getting Started

Package Sidebar

Install

npm i create-go-app

Weekly Downloads

2

Version

0.1.22

License

AGPL

Unpacked Size

466 kB

Total Files

4

Last publish

Collaborators

  • sskycn