README
¶
Project: Parrot
Golang Tool!
Install
You can go get part of the project:
go get -v -u github.com/hunterhug/parrot
or git clone whole project and move to your GOPATH:
git clone https://github.com/hunterhug/parrot
mv parrot $GOPATH/src/github.com/hunterhug
if you run has problem, try mv vendor to your GOPATH.
Suggest Golang1.9+
Usage
Mainly contain store and some util lib:
---algorithm
---log
---store store module
---myredis
---mysql
---myetcd
---mydb database Orm(use xorm)
---myhbase
---mycassandra
---util other tool
--- image picture cut
--- open open CAPTCHA picture
--- xid generate globally unique ids
--- gomail email sent(copy and modify by other lib)
--- slack sent message to slack
--- logrushook some hook for logrus
crypto.go encryption..
file.go file operation
time.go time...
Example
See *_test.go
LICENSE
Copyright 2017 by marmot author: gdccmcm14@live.com.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License
Documentation
¶
There is no documentation for this package.
Directories
¶
Path | Synopsis |
---|---|
algorithm
|
|
sort
Package sort implement some algorithm of sort
|
Package sort implement some algorithm of sort |
This source you can use! This source you can use! Package log This source you can use! This source you can use! This source you can use!
|
This source you can use! This source you can use! Package log This source you can use! This source you can use! This source you can use! |
golog
Package log implements a simple logging package.
|
Package log implements a simple logging package. |
mycassandra
cassandra操作工具类
|
cassandra操作工具类 |
gomail
Package gomail provides a simple interface to compose emails and to mail them efficiently.
|
Package gomail provides a simple interface to compose emails and to mail them efficiently. |
open
Open a file, directory, or URI using the OS's default application for that object type.
|
Open a file, directory, or URI using the OS's default application for that object type. |
Click to show internal directories.
Click to hide internal directories.