PostgreSQL
 sql >> Base de données >  >> RDS >> PostgreSQL

Obtenez le tableau postgresql dans la structure avec StructScan

Essayez d'utiliser pq.StringArray tapez pour []chaîne

type MyStruct struct {
    Id   int
    Data pq.StringArray
}