Skip to content

silentred/toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toolkit

Toolkit of web API and RPC services

Go Report Card codebeat badge Codacy Badge

Build

go get github.com/silentred/toolkit
cd $GOPATH/src/github.com/silentred/toolkit
make build
./toolkit -v
 _____           _ _    _ _
|_   _|__   ___ | | | _(_) |_
  | |/ _ \ / _ \| | |/ / | __|
  | | (_) | (_) | |   <| | |_
  |_|\___/ \___/|_|_|\_\_|\__|

Version: v0.1.1
GitHash: 7975f569095d28c979c70f192533fa35a507b0c7
BuildTS: 2017-06-15 03:44:02

NAME:
   toolkit - A toolkit of the Toolkit

USAGE:
   toolkit [global options] command [command options] [arguments...]

VERSION:
   v0.0.1

COMMANDS:
     new, n   Create a new project
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

Usage

Create new project

$ ./toolkit new myapp
# Step1: creating dirs and files
create file: /Users/jason/Desktop/projects/GOPATH/src/gitlab.luojilab.com/igetserver/myapp/main.go
create file: /Users/jason/Desktop/projects/GOPATH/src/gitlab.luojilab.com/igetserver/myapp/service/echo.go
create file: /Users/jason/Desktop/projects/GOPATH/src/gitlab.luojilab.com/igetserver/myapp/Makefile
create file: /Users/jason/Desktop/projects/GOPATH/src/gitlab.luojilab.com/igetserver/myapp/config.toml
create file successful
# Step2: run following commands to start the app
cd $GOPATH/gitlab.luojilab.com/igetserver/myapp
git init && git add * && git commit -m "init commit"
go get github.com/labstack/echo
make build && ./myapp
Have fun!

Follow the guide and run the application.

Run and watch

Coming later.

About

Toolkit of web API and RPC services

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages