package lishwist
type Admin struct {
user *User
}
func (s *Session) Admin() *Admin {
if s.User.IsAdmin {
return &Admin{s.User}
} else {
return nil