go-rich

command module
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

README

Go Rich

编译

GO 安装
git clone https://github.com/golang/net.git $GOPATH/src/github.com/golang/net
git clone https://github.com/golang/sys.git $GOPATH/src/github.com/golang/sys
git clone https://github.com/golang/tools.git $GOPATH/src/github.com/golang/tools
git clone https://github.com/golang/crypto.git $GOPATH/src/github.com/golang/crypto
mkdir $GOPATH/src/golang.org
ln -s $GOPATH/src/github.com/golang $GOPATH/src/golang.org/x

# WEB框架
go get github.com/labstack/echo
go get github.com/Code-Hex/echo-static
# 校验
go get gopkg.in/go-playground/validator.v9
# 资源打包
go get github.com/jteeuwen/go-bindata/...
go get github.com/elazarl/go-bindata-assetfs
# 数据库
go get github.com/syndtr/goleveldb/leveldb
# 命令行
go get github.com/urfave/cli
# 认证
go get github.com/dgrijalva/jwt-go
# Excel
go get github.com/360EntSecGroup-Skylar/excelize
# 汉字转拼音
go get github.com/mozillazg/go-slugify
# 工具
go get github.com/xuender/go-utils
# 单元测试
go get github.com/smartystreets/goconvey
# 二维码生成
go get rsc.io/qr
编译
# 生成 changelog
npm install -g conventional-changelog-cli
# git cz 规范提交
npm install -g commitizen
# 使用 Angular 的 Commit message 格式
commitizen init cz-conventional-changelog --save --save-exact
npm i
make
提交
git cz

设计原则

  • uri 中不能有动词,资源是名词
  • 名词复数形式

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