I have an sql table
users which includes an array field. How can I Scan it to variable in golang? My approach:
var id int var username string var activites string row := db.QueryRow("SELECT id, username, activities FROM users WHERE id = 1") err := row.Scan(&id, &username, &activites)
Works fine for id, username.