if a column in to sqlite-database NULL become <nil> back and this is a wrong type string
var name string
var tel string
var ort string
err = dbo.QueryRow("SELECT name, tel, ort FROM organisation WHERE oid=?", GetSessionValueInt(r, "oid")).Scan(&name, &tel, &ort)
if err != nil {
panic(err)
}
The error-output:
sql: Scan error on column index 2: unsupported Scan, storing driver.Value type <nil> into type *string
What is the right handle with column-type string or int when the result is <nil>?