For each PostgreSQL table you need to define a corresponding Go struct (model). go-pg ... To use PostgreSQL array, add pg:",array" struct tag or use pg.
確定! 回上一頁