You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.
写法 var name string has, err := engine.Where("id = ?", id).Cols("name").Get(&name) 数据库的name值是NULL
报错信息如下: sql: Scan error on column index 0: unsupported Scan, storing driver.Value type <nil> into type *string
The text was updated successfully, but these errors were encountered:
写法
var name string has, err := engine.Where("id = ?", id).Cols("name").Get(&name) 数据库的name值是NULL
报错信息如下:
sql: Scan error on column index 0: unsupported Scan, storing driver.Value type <nil> into type *string
The text was updated successfully, but these errors were encountered: