another style pass

This commit is contained in:
2026-03-12 11:58:16 -06:00
parent 7e34c33e58
commit b69a5e57a2
8 changed files with 29 additions and 49 deletions
+1 -3
View File
@@ -192,9 +192,7 @@ func (sess *amSession) Set(key, value any) {
func (sess *amSession) Erase() {
sess.mutex.Lock()
defer sess.mutex.Unlock()
for k := range sess.values {
delete(sess.values, k)
}
clear(sess.values)
}
// Uid returns the current user ID associated with this session.