mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-12 06:11:03 -04:00
17 lines
236 B
Go
17 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"
|
|
}
|
|
}
|