mirror of
https://github.com/rancher/norman.git
synced 2025-09-02 15:54:32 +00:00
add float
This commit is contained in:
@@ -327,6 +327,8 @@ func ConvertSimple(fieldType string, value interface{}, op Operation) (interface
|
||||
return convert.ToString(value), nil
|
||||
case "int":
|
||||
return convert.ToNumber(value)
|
||||
case "float":
|
||||
return convert.ToFloat(value)
|
||||
case "password":
|
||||
return convert.ToString(value), nil
|
||||
case "string":
|
||||
|
Reference in New Issue
Block a user