Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 24-Mar-2022 | - | ||||
.gitignore | H A D | 24-Mar-2022 | 264 | 25 | 19 | |
.travis.yml | H A D | 24-Mar-2022 | 144 | 16 | 13 | |
LICENSE | H A D | 24-Mar-2022 | 10 KiB | 191 | 155 | |
README.md | H A D | 24-Mar-2022 | 963 | 21 | 13 | |
cmd.go | H A D | 24-Mar-2022 | 4.8 KiB | 162 | 85 | |
convert.go | H A D | 24-Mar-2022 | 3.6 KiB | 168 | 128 | |
dir.go | H A D | 24-Mar-2022 | 5.8 KiB | 219 | 148 | |
file.go | H A D | 24-Mar-2022 | 3.3 KiB | 146 | 97 | |
html.go | H A D | 24-Mar-2022 | 1.7 KiB | 61 | 37 | |
http.go | H A D | 24-Mar-2022 | 5.2 KiB | 202 | 152 | |
math.go | H A D | 24-Mar-2022 | 825 | 30 | 13 | |
path.go | H A D | 24-Mar-2022 | 2 KiB | 81 | 50 | |
regex.go | H A D | 24-Mar-2022 | 1.8 KiB | 57 | 29 | |
slice.go | H A D | 24-Mar-2022 | 1.9 KiB | 88 | 57 | |
string.go | H A D | 24-Mar-2022 | 5.4 KiB | 254 | 182 | |
time.go | H A D | 24-Mar-2022 | 3.9 KiB | 116 | 61 | |
url.go | H A D | 24-Mar-2022 | 1.1 KiB | 42 | 18 |
README.md
1Common Functions 2================ 3 4[![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) 5 6This is an open source project for commonly used functions for the Go programming language. 7 8This package need >= **go 1.3** 9 10Code Convention: based on [Go Code Convention](https://github.com/unknwon/go-code-convention). 11 12## Contribute 13 14Your contribute is welcome, but you have to check following steps after you added some functions and commit them: 15 161. Make sure you wrote user-friendly comments for **all functions** . 172. Make sure you wrote test cases with any possible condition for **all functions** in file `*_test.go`. 183. Make sure you wrote benchmarks for **all functions** in file `*_test.go`. 194. Make sure you wrote useful examples for **all functions** in file `example_test.go`. 205. Make sure you ran `go test` and got **PASS** . 21