From cee8589c93e11ae2dfe08ebfe568a2888349e056 Mon Sep 17 00:00:00 2001 From: Ola <1386739+olahol@users.noreply.github.com> Date: Mon, 17 Oct 2022 12:54:00 +0200 Subject: [PATCH] Report card. --- README.md | 1 + session.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4b81567..7f5761a 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/session.go b/session.go index d9f9b4f..8bb81c9 100644 --- a/session.go +++ b/session.go @@ -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()