2015-02-03 11:33:01 +01:00
|
|
|
// generated by stringer -type=ValueType valuetype.go; DO NOT EDIT
|
2015-01-11 00:51:53 +01:00
|
|
|
|
|
|
|
package schema
|
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
2015-01-11 00:57:06 +01:00
|
|
|
const _ValueType_name = "TypeInvalidTypeBoolTypeIntTypeFloatTypeStringTypeListTypeMapTypeSettypeObject"
|
2015-01-11 00:51:53 +01:00
|
|
|
|
2015-02-03 17:54:14 +01:00
|
|
|
var _ValueType_index = [...]uint8{0, 11, 19, 26, 35, 45, 53, 60, 67, 77}
|
2015-01-11 00:51:53 +01:00
|
|
|
|
|
|
|
func (i ValueType) String() string {
|
2015-07-10 12:56:27 +02:00
|
|
|
if i < 0 || i >= ValueType(len(_ValueType_index)-1) {
|
2015-01-11 00:51:53 +01:00
|
|
|
return fmt.Sprintf("ValueType(%d)", i)
|
|
|
|
}
|
2015-02-03 17:54:14 +01:00
|
|
|
return _ValueType_name[_ValueType_index[i]:_ValueType_index[i+1]]
|
2015-01-11 00:51:53 +01:00
|
|
|
}
|