Created Int type
This commit is contained in:
@ -60,8 +60,7 @@ var attribTypes = map[string]AttribTypeInfo{
|
||||
Imports: []string{"strconv"},
|
||||
},
|
||||
"int": {
|
||||
Template: simpleTemplate("int", "strconv.FormatInt(int64(%s), 10)"),
|
||||
Imports: []string{"strconv"},
|
||||
Template: simpleTemplate("int", "Int(%s).String()"),
|
||||
},
|
||||
"float": {
|
||||
Template: simpleTemplate("float32", "Float(%s).String()"),
|
||||
|
Reference in New Issue
Block a user