Difference between revisions of "Pgx"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
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://dev.to/kushagra_mehta/postgresql-with-go-in-2021-3dfg | ||
https://stackoverflow.com/questions/56718043/how-to-convert-sqlx-query-results-to-an-array-of-structs | https://stackoverflow.com/questions/56718043/how-to-convert-sqlx-query-results-to-an-array-of-structs |
Latest revision as of 00:28, 23 March 2022
https://pkg.go.dev/github.com/jackc/pgx#section-readme
https://github.com/henvic/pgxtutorial
https://henvic.dev/posts/go-postgres/
https://dev.to/kushagra_mehta/postgresql-with-go-in-2021-3dfg
for rows.Next() { s := CustomData{} if err := rows.Scan(&s); err != nil { return err } fmt.Println(s) }