0
0
mirror of https://gitea.com/xorm/xorm.git synced 2025-10-06 00:43:56 +02:00

Fix typo in session_get.go (#2398)

- Fix a typo in error message: "unspoorted" should be "unsupported"

Signed-off-by: weeee9 <teletubby332@gmail.com>

Reviewed-on: https://gitea.com/xorm/xorm/pulls/2398
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: weeee9 <teletubby332@gmail.com>
Co-committed-by: weeee9 <teletubby332@gmail.com>
This commit is contained in:
weeee9
2024-01-22 08:06:32 +00:00
committed by Lunny Xiao
parent 70c6978fc4
commit ac3be4148e

View File

@@ -240,7 +240,7 @@ func (session *Session) getSlice(rows *core.Rows, types []*sql.ColumnType, field
}
return nil
default:
return fmt.Errorf("unspoorted slice type: %t", t)
return fmt.Errorf("unsupported slice type: %t", t)
}
}
@@ -269,7 +269,7 @@ func (session *Session) getMap(rows *core.Rows, types []*sql.ColumnType, fields
}
return nil
default:
return fmt.Errorf("unspoorted map type: %t", t)
return fmt.Errorf("unsupported map type: %t", t)
}
}