Created Float type
This commit is contained in:
@ -64,8 +64,7 @@ var attribTypes = map[string]AttribTypeInfo{
|
||||
Imports: []string{"strconv"},
|
||||
},
|
||||
"float": {
|
||||
Template: simpleTemplate("float32", "strconv.FormatFloat(float64(%s), 'G', -1, 32)"),
|
||||
Imports: []string{"strconv"},
|
||||
Template: simpleTemplate("float32", "Float(%s).String()"),
|
||||
},
|
||||
"space list": {
|
||||
Template: simpleTemplate("...string", "SpaceList(%s).String()"),
|
||||
|
Reference in New Issue
Block a user