mirror of
https://github.com/genuinetools/reg.git
synced 2024-07-04 12:34:17 -04:00
18 lines
236 B
Go
18 lines
236 B
Go
package issue330
|
|
|
|
type TypeIdentifier uint32
|
|
|
|
const (
|
|
UnknownType TypeIdentifier = 0
|
|
UserType TypeIdentifier = 20
|
|
)
|
|
|
|
func (t TypeIdentifier) String() string {
|
|
switch t {
|
|
case 20:
|
|
return "User"
|
|
default:
|
|
return "Unknown"
|
|
}
|
|
}
|