mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-11 13:51:03 -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"
|
||
|
}
|
||
|
}
|