kr

command module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

Kr

sourcegraph

Kr provide some develop help toolkits.

Feature

  • support generate grpc style template project use kr new -d examples -s grpc command.
  • support generate gin style template project use kr new -d examples -s gin command.
  • support generate go-chi style template project use kr new -d examples -s chi command.
  • support generate mux style template project use kr new -d examples -s mux command.
  • support generate httprouter style template project use kr new -d examples -s httprouter command.
  • support generate echo style template project use kr new -d examples -s echo command.
  • support generate macaron style template project use kr new -d examples -s macaron command.
  • support generate iris style template project use kr new -d examples -s iris command.

Usage

% go get github.com/alimy/kr@latest
% mkdir -p $GOPATH/src/github.com/alimy
% cd $GOPATH/src/github.com/alimy
% kr new -d examples -s grpc -p github.com/alimy/examples
% tree -L 2 examples
examples
├── Makefile
├── README.md
├── assets
│   ├── README.md
│   ├── certs
│   └── config
├── cmd
│   ├── README.md
│   ├── core
│   ├── zimctl
│   ├── zimctl.go
│   ├── zimlet
│   └── zimlet.go
├── core
│   ├── core.go
│   ├── models
│   ├── proto
│   └── servant
├── docs
│   └── README.md
├── go.mod
├── hack
│   ├── README.md
│   ├── goprotoc.sh
│   └── systemd
├── internal
│   ├── assets
│   ├── config
│   ├── insecure
│   ├── logus
│   └── rpcx
├── servants
│   ├── agent
│   ├── business
│   ├── dataware
│   ├── servants.go
│   └── share
└── version
    └── version.go

% cd examples
% make build
% ls
Makefile  assets    core      go.mod    hack      servants  zimctl
README.md cmd       docs      go.sum    internal  version   zimlet

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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