gitea/vendor/github.com/Unknwon/com
Tamal Saha 34d06f4c6b Handle CORS requests (#6289) 2019-05-13 11:38:53 -04:00
..
.gitignore Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
.travis.yml Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
LICENSE Added all required dependencies 2016-11-04 08:43:11 +01:00
README.md Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
cmd.go Added all required dependencies 2016-11-04 08:43:11 +01:00
convert.go Various wiki bug fixes (#2996) 2017-11-28 17:43:51 +08:00
dir.go Handle CORS requests (#6289) 2019-05-13 11:38:53 -04:00
file.go Added all required dependencies 2016-11-04 08:43:11 +01:00
go.mod Handle CORS requests (#6289) 2019-05-13 11:38:53 -04:00
go.sum Handle CORS requests (#6289) 2019-05-13 11:38:53 -04:00
html.go Handle CORS requests (#6289) 2019-05-13 11:38:53 -04:00
http.go Handle CORS requests (#6289) 2019-05-13 11:38:53 -04:00
math.go Handle CORS requests (#6289) 2019-05-13 11:38:53 -04:00
path.go Added all required dependencies 2016-11-04 08:43:11 +01:00
regex.go Handle CORS requests (#6289) 2019-05-13 11:38:53 -04:00
slice.go Handle CORS requests (#6289) 2019-05-13 11:38:53 -04:00
string.go Various wiki bug fixes (#2996) 2017-11-28 17:43:51 +08:00
time.go Added all required dependencies 2016-11-04 08:43:11 +01:00
url.go Added all required dependencies 2016-11-04 08:43:11 +01:00

README.md

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 .