This repository has been archived on 2019-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
git/vendor/github.com/Unknwon/com
Lauris BH 578ad8f125 Refactor branch list using src-d/go-git and add GetRefs function (#133)
* Refactor branch list using src-d/go-git and add GetRefs function

* Fix copyright

* Fix to reuse ObjectType

* Add function to filter refs by prefix

* Fix import order

* Optimize if structure
2018-11-15 23:38:33 +01:00
..
.gitignore Use dep instead of govendor (#117) 2018-05-15 23:26:52 +08:00
.travis.yml Use dep instead of govendor (#117) 2018-05-15 23:26:52 +08:00
cmd.go Added vendored dependencies 2016-11-13 01:22:35 +01:00
convert.go Use dep instead of govendor (#117) 2018-05-15 23:26:52 +08:00
dir.go Refactor branch list using src-d/go-git and add GetRefs function (#133) 2018-11-15 23:38:33 +01:00
file.go Added vendored dependencies 2016-11-13 01:22:35 +01:00
html.go Added vendored dependencies 2016-11-13 01:22:35 +01:00
http.go Added vendored dependencies 2016-11-13 01:22:35 +01:00
LICENSE Added vendored dependencies 2016-11-13 01:22:35 +01:00
math.go Refactor branch list using src-d/go-git and add GetRefs function (#133) 2018-11-15 23:38:33 +01:00
path.go Added vendored dependencies 2016-11-13 01:22:35 +01:00
README.md Added vendored dependencies 2016-11-13 01:22:35 +01:00
regex.go Added vendored dependencies 2016-11-13 01:22:35 +01:00
slice.go Added vendored dependencies 2016-11-13 01:22:35 +01:00
string.go Use dep instead of govendor (#117) 2018-05-15 23:26:52 +08:00
time.go Added vendored dependencies 2016-11-13 01:22:35 +01:00
url.go Added vendored dependencies 2016-11-13 01:22:35 +01:00

Common Functions

Build Status Go Walker

This is an open source project for commonly used functions for the Go programming language.

This package need >= go 1.2

Code Convention: based on Go Code Convention.

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 .