mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
1.1 KiB
1.1 KiB
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 -bench="."
and got PASS .
Performance
See results on drone.io by go test -bench="."
.