blob: c2748004c3a741cbb0c0b511d5b006d663880316 [file] [log] [blame]
// Code generated by fidlgen; DO NOT EDIT.
package json
type MyBits uint32
const (
MyBitsMyFirstBit MyBits = 1
MyBitsMyOtherBit MyBits = 2
)
func (x MyBits) String() string {
switch x {
case 1:
return "MyFirstBit"
case 2:
return "MyOtherBit"
}
return "Unknown"
}
type StrictBits uint64
const (
StrictBitsSmallest StrictBits = 1
StrictBitsBiggest StrictBits = 9223372036854775808
)
func (x StrictBits) String() string {
switch x {
case 1:
return "Smallest"
case 9223372036854775808:
return "Biggest"
}
return "Unknown"
}