Versions in this module Expand all Collapse all v0 v0.0.1 Dec 6, 2024 Changes in this version + var Admin = newRole("ADMIN") + var User = newRole("USER") + func ParseToString(usrRoles []Role) []string + type Role struct + func MustParse(value string) Role + func Parse(value string) (Role, error) + func ParseMany(roles []string) ([]Role, error) + func (r Role) Equal(r2 Role) bool + func (r Role) MarshalText() ([]byte, error) + func (r Role) String() string