add badges in readme

This commit is contained in:
Gabriel Augendre 2024-10-30 15:35:31 +01:00
parent 548d1beeac
commit cddb074802
No known key found for this signature in database
GPG key ID: 0073D1CD7EC5A253

View file

@ -1,5 +1,8 @@
# fatcontext
[![Go Reference](https://pkg.go.dev/badge/github.com/Crocmagnon/fatcontext.svg)](https://pkg.go.dev/github.com/Crocmagnon/fatcontext)
[![Go Report Card](https://goreportcard.com/badge/github.com/Crocmagnon/fatcontext)](https://goreportcard.com/report/github.com/Crocmagnon/fatcontext)
`fatcontext` is a Go linter which detects potential fat contexts in loops or function literals.
They can lead to performance issues, as documented here: https://gabnotes.org/fat-contexts/