You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
963 B

  1. Common Functions
  2. ================
  3. [![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)
  4. This is an open source project for commonly used functions for the Go programming language.
  5. This package need >= **go 1.2**
  6. Code Convention: based on [Go Code Convention](https://github.com/Unknwon/go-code-convention).
  7. ## Contribute
  8. Your contribute is welcome, but you have to check following steps after you added some functions and commit them:
  9. 1. Make sure you wrote user-friendly comments for **all functions** .
  10. 2. Make sure you wrote test cases with any possible condition for **all functions** in file `*_test.go`.
  11. 3. Make sure you wrote benchmarks for **all functions** in file `*_test.go`.
  12. 4. Make sure you wrote useful examples for **all functions** in file `example_test.go`.
  13. 5. Make sure you ran `go test` and got **PASS** .