4
4
4sadly2019-12-23 22:02:52
PostgreSQL
4sadly, 2019-12-23 22:02:52

How to work with postgresql in go?

What is the best library to use?
Can you please show an example of connecting to the database and some actions

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Sviridov, 2019-12-23
@4sadly

Here is pgx . See readme - there is an example of connection and use. It is convenient to use in conjunction with sqlx . You can also try gorm , but I personally did not like it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question