go-mockgen-tool VS pgxtutorial

Compare go-mockgen-tool vs pgxtutorial and see what are their differences.

go-mockgen-tool

Go/Golang mock generation for interfaces via code generation (by jamesrr39)

pgxtutorial

Example of how to build a web service using Go, PostgreSQL, and gRPC (by henvic)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
go-mockgen-tool pgxtutorial
1 3
0 115
- -
0.0 6.8
about 2 years ago 4 months ago
Go Go
Apache License 2.0 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.

go-mockgen-tool

Posts with mentions or reviews of go-mockgen-tool. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-22.

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 go-mockgen-tool and pgxtutorial you can also consider the following projects:

sqlc - Generate type-safe code from SQL

pq - Pure Go Postgres driver for database/sql

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

litestream - Streaming replication for SQLite.

impl - impl generates method stubs for implementing an interface.

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

sqlx - 🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.

pgx - PostgreSQL driver and toolkit for Go

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