Difference between revisions of "Pgx"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
https://pkg.go.dev/github.com/jackc/pgx#section-readme | https://pkg.go.dev/github.com/jackc/pgx#section-readme | ||
| + | https://github.com/henvic/pgxtutorial | ||
https://henvic.dev/posts/go-postgres/ | https://henvic.dev/posts/go-postgres/ | ||
Revision as of 23:53, 22 March 2022
https://pkg.go.dev/github.com/jackc/pgx#section-readme
https://github.com/henvic/pgxtutorial
https://henvic.dev/posts/go-postgres/
for rows.Next() {
s := CustomData{}
if err := rows.Scan(&s); err != nil {
return err
}
fmt.Println(s)
}