mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 13:09:22 -06:00
93919427f8
* use grafana-plugin-model dependency that uses go modules * use grafana-plugin-model with updated hashicorp/go-plugin * use grafana-plugin-model with re-compiled protos * test using protoc-gen-go v1.2.0 tag * use grafana-plugin-model with re-compiled protos * chore: fix deprecation warning for lint * use latest grafana-plugin-model Fixes #19454 |
||
---|---|---|
.. | ||
.gitignore | ||
cmd.go | ||
convert.go | ||
dir.go | ||
file.go | ||
go.mod | ||
go.sum | ||
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.3
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 .