toolkit

command module
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: MIT Imports: 4 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
example
web
grpool
Goroutine池.
Goroutine池.

Jump to

Keyboard shortcuts

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