mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-18 04:50:23 -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"
|
|
}
|
|
}
|