Skip to content

Commit

Permalink
changed float to float64; float type does not exist in go v1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
stephhuynh18 committed Feb 20, 2018
1 parent 0d63d24 commit 66dbdb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slipscheme.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ func (s *SchemaProcessor) processSchema(schema *Schema) (typeName string, err er
} else if schema.Type == INTEGER {
typeName = "int"
} else if schema.Type == NUMBER {
typeName = "float"
typeName = "float64"
} else if schema.Type == NULL || schema.Type == ANY {
typeName = "interface{}"
} else if schema.Type == STRING {
Expand Down

0 comments on commit 66dbdb5

Please sign in to comment.