common functional utils for public
Table of Contents generated with DocToc
- utils
- 1. start
- 2. plugins
- 3. Notes:
- 3.1 All plugins should be inited well before the app starts,so we don't add locks to make it concurrently safe.Neither can we change global tools's properties while the app is running.
- 3.2 Add your plugins as you wish, but make sure a package with an
init.go
and at least axxx_test.go
file, when pull request is open, make sure travis-ci pass.
go get github.com/fwhezfwhez/utils
Most tools as global vals can be put into utils.Welcome to pull your request to fullfill the utils.