Add TypeKVPairs field type (#3535)

This commit is contained in:
Chris Hoffman
2017-11-07 11:11:49 -05:00
committed by GitHub
parent 2994b26194
commit 92650358d6
4 changed files with 101 additions and 2 deletions

View File

@@ -614,6 +614,8 @@ func (t FieldType) Zero() interface{} {
return false
case TypeMap:
return map[string]interface{}{}
case TypeKVPairs:
return map[string]string{}
case TypeDurationSecond:
return 0
case TypeSlice: