sql.Out 值未由模拟数据库设置
作者: jwenz723创建于 2019年12月6日更新于 2026年3月20日
This function validates that the `AvailableRangeStart` and `IDBlockSize` sql.Out parameters have been assigned (checks that they don't have the default value of 0), which means I can't run this function using a mock database without the `errors.New("failed to retrieve block")` error being returned.
内容来源: DATA-DOG/go-sqlmock