enable godot, misspell linters

This commit is contained in:
2026-02-15 17:14:34 +00:00
parent f6ea67b88c
commit fc6ac8fa4e
5 changed files with 10 additions and 7 deletions

View File

@@ -2,7 +2,7 @@ package udpproxy
import "sync"
// sessionCache tracks connection sessions
// sessionCache tracks connection sessions.
type sessionCache struct {
mu sync.RWMutex
data map[string]*session
@@ -15,7 +15,7 @@ func newSessionCache() sessionCache {
}
}
// read returns the associated session for an addr
// read returns the associated session for an addr.
func (sc *sessionCache) read(addr string) (*session, bool) {
sc.mu.RLock()
defer sc.mu.RUnlock()