Skip to content

shipengqi/jaguar

Repository files navigation

Jaguar

A scaffold that makes it easy to create amazing Go applications.

e2e test Go Report Card release license

Installation

From the Binary Releases

Download the pre-compiled binaries from the releases page and copy them to the desired location.

$ jaguar --version

Go Install

You must have a working Go environment:

$ go install github.com/shipengqi/jaguar@latest

From Source

You must have a working Go environment:

$ git clone https://github.com/shipengqi/jaguar.git
$ make build

Usage

Create a new project

$ jaguar new

Add license

Add the copyright license headers for source code files:

$ jaguar tool license add <project>

Generate Error Codes

Automatically generate error codes for API skeleton:

$ jaguar tool codegen --types int ./<API code directory>