Use typed IDs instead of plain strings
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
package arn
|
||||
|
||||
// SessionID represents a session ID.
|
||||
type SessionID = ID
|
||||
|
||||
// Session stores session-related data.
|
||||
type Session map[string]interface{}
|
||||
type Session map[SessionID]interface{}
|
||||
|
Reference in New Issue
Block a user