Report card.

This commit is contained in:
Ola
2022-10-17 12:54:00 +02:00
parent 8e323a3242
commit cee8589c93
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -2,6 +2,7 @@
![Build Status](https://github.com/olahol/melody/actions/workflows/test.yml/badge.svg)
[![Codecov](https://img.shields.io/codecov/c/github/olahol/melody)](https://app.codecov.io/github/olahol/melody)
[![Go Report Card](https://goreportcard.com/badge/github.com/olahol/melody)](https://goreportcard.com/report/github.com/olahol/melody)
[![GoDoc](https://godoc.org/github.com/olahol/melody?status.svg)](https://godoc.org/github.com/olahol/melody)
> :notes: Minimalist websocket framework for Go.
+1 -1
View File
@@ -186,7 +186,7 @@ func (s *Session) CloseWithMsg(msg []byte) error {
return nil
}
// Set is used to store a new key/value pair exclusivelly for this session.
// Set is used to store a new key/value pair exclusively for this session.
// It also lazy initializes s.Keys if it was not used previously.
func (s *Session) Set(key string, value interface{}) {
s.rwmutex.Lock()