pq VS pgxtutorial

Compare pq vs pgxtutorial and see what are their differences.

pgxtutorial

Example of how to build a web service using Go, PostgreSQL, and gRPC (by henvic)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
pq pgxtutorial
28 3
8,726 115
1.1% -
3.2 6.8
about 2 months ago 4 months ago
Go Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pq

Posts with mentions or reviews of pq. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-02.

pgxtutorial

Posts with mentions or reviews of pgxtutorial. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-19.
  • Back to basics: Writing an application using Go and PostgreSQL with pgx
    4 projects | dev.to | 19 Jan 2022
    # Clone my repository with any of the following commands: $ gh repo clone henvic/pgxtutorial $ git clone https://github.com/henvic/pgxtutorial.git $ git clone [email protected]:henvic/pgxtutorial.git # then: $ cd pgxtutorial # Create a database $ psql -c "CREATE DATABASE pgxtutorial;" # Set the environment variable PGDATABASE $ export PGDATABASE=pgxtutorial # Run migrations $ tern migrate -m ./migrations # Run all tests passing INTEGRATION_TESTDB explicitly $ INTEGRATION_TESTDB=true go test -v ./... # Execute application $ go run ./cmd/pgxtutorial 2021/11/22 07:21:21 HTTP server listening at localhost:8080 2021/11/22 07:21:21 gRPC server listening at 127.0.0.1:8082
  • Back to basics: Writing an application using Go and PostgreSQL
    15 projects | news.ycombinator.com | 22 Nov 2021
    oh, I also have defined database.PGX (https://github.com/henvic/pgxtutorial/blob/main/internal/dat...), which is a little more scarier. I'll get back about that too, but this one is perhaps even more useless, and there might be a better way to solve the issue I want to try to avoid with it.

What are some alternatives?

When comparing pq and pgxtutorial you can also consider the following projects:

pgx - PostgreSQL driver and toolkit for Go

go-mockgen-tool - Go/Golang mock generation for interfaces via code generation

go-sql-driver/mysql - Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package

litestream - Streaming replication for SQLite.

sqlx - general purpose extensions to golang's database/sql

dockertest - Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.

goriak - goriak - Go language driver for Riak KV

whatgotdone - A tool for sharing weekly task updates with teammates.

gofreetds - Go Sql Server database driver.

impl - impl generates method stubs for implementing an interface.

go-mssqldb - Microsoft SQL server driver written in go language

ApacheKafka - A curated re-sources list for awesome Apache Kafka