update go mod && fix

This commit is contained in:
2025-03-24 12:00:43 +08:00
parent da9aa14f0e
commit 97f45e30a6
4 changed files with 15 additions and 7 deletions

View File

@ -26,7 +26,7 @@ func Test_handleFloat(t *testing.T) {
as := assert.New(t)
checkRule := &define.FieldRule{
Path: "test_float",
Type: consts.DataTypeFloat,
Type: consts.DataTypeFloat64,
DisableRewrite: false,
DefaultValue: "",
IsRequired: false,