2019-03-27 16:45:23 +05:30
|
|
|
Common Functions
|
|
|
|
================
|
|
|
|
|
2019-08-23 22:10:30 +05:30
|
|
|
[![Build Status](https://travis-ci.org/unknwon/com.svg)](https://travis-ci.org/unknwon/com) [![Go Walker](http://gowalker.org/api/v1/badge)](http://gowalker.org/github.com/unknwon/com)
|
2019-03-27 16:45:23 +05:30
|
|
|
|
|
|
|
This is an open source project for commonly used functions for the Go programming language.
|
|
|
|
|
2019-08-23 22:10:30 +05:30
|
|
|
This package need >= **go 1.3**
|
2019-03-27 16:45:23 +05:30
|
|
|
|
2019-08-23 22:10:30 +05:30
|
|
|
Code Convention: based on [Go Code Convention](https://github.com/unknwon/go-code-convention).
|
2019-03-27 16:45:23 +05:30
|
|
|
|
|
|
|
## Contribute
|
|
|
|
|
|
|
|
Your contribute is welcome, but you have to check following steps after you added some functions and commit them:
|
|
|
|
|
|
|
|
1. Make sure you wrote user-friendly comments for **all functions** .
|
|
|
|
2. Make sure you wrote test cases with any possible condition for **all functions** in file `*_test.go`.
|
|
|
|
3. Make sure you wrote benchmarks for **all functions** in file `*_test.go`.
|
|
|
|
4. Make sure you wrote useful examples for **all functions** in file `example_test.go`.
|
|
|
|
5. Make sure you ran `go test` and got **PASS** .
|