mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-15 19:01:50 +03:00
d77176912b
* Migrate to go modules * make vendor * Update mvdan.cc/xurls * make vendor * Update code.gitea.io/git * make fmt-check * Update github.com/go-sql-driver/mysql * make vendor |
||
---|---|---|
.. | ||
.gitignore | ||
.travis.yml | ||
cmd.go | ||
convert.go | ||
dir.go | ||
file.go | ||
html.go | ||
http.go | ||
LICENSE | ||
math.go | ||
path.go | ||
README.md | ||
regex.go | ||
slice.go | ||
string.go | ||
time.go | ||
url.go |
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 .