blob: 424240781eb74c5dc272d4189d5d1748d4769536 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package mapr
type fieldType int
// The possible field types.
const (
UndefFieldType fieldType = iota
Field fieldType = iota
String fieldType = iota
Float fieldType = iota
FunctionStack fieldType = iota
)
func (w fieldType) String() string {
switch w {
case Field:
return "Field"
case String:
return "String"
case Float:
return "Float"
case FunctionStack:
return "FunctionStack"
default:
return "UndefFieldType"
}
}
|