mirror of https://github.com/go-gitea/gitea
Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
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.
Mura Li
d77176912b
|
6 years ago | |
---|---|---|
.. | ||
.gitignore | 6 years ago | |
.travis.yml | 6 years ago | |
LICENSE | 8 years ago | |
README.md | 6 years ago | |
cmd.go | 8 years ago | |
convert.go | 7 years ago | |
dir.go | 8 years ago | |
file.go | 8 years ago | |
html.go | 8 years ago | |
http.go | 8 years ago | |
math.go | 8 years ago | |
path.go | 8 years ago | |
regex.go | 8 years ago | |
slice.go | 8 years ago | |
string.go | 7 years ago | |
time.go | 8 years ago | |
url.go | 8 years ago |
README.md
Common Functions
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:
- Make sure you wrote user-friendly comments for all functions .
- Make sure you wrote test cases with any possible condition for all functions in file
*_test.go
. - Make sure you wrote benchmarks for all functions in file
*_test.go
. - Make sure you wrote useful examples for all functions in file
example_test.go
. - Make sure you ran
go test
and got PASS .