moq
postgres
moq | postgres | |
---|---|---|
16 | 29 | |
1,771 | 2,093 | |
- | 1.2% | |
3.6 | 7.5 | |
7 days ago | 6 days ago | |
Go | Shell | |
MIT License | MIT License |
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.
moq
- vektra/mockery has fully released the "packages" feature! This blog explains what it is and how it works.
- Why elixir over Golang
-
Is gomock still maintained and recommended?
``` https://github.com/matryer/moq
-
How do you write/generate mocks for testing?
Currently trying out https://github.com/matryer/moq for the first time, and quite positive so far. Haven't pushed it enough yet to give a real opinion.
-
gomock giving me a hard time
I like moq much better than gomock. Much simpler and easier to work with.
-
how to mock DBs
Just replaced mockery generated mocks with https://github.com/matryer/moq Alot cleaner imo at least for me
- Testify Mocking conundrums
-
Can someone please comment on this mock example from Jon Calhoun's post on DDD?
btw, you can avoid making such mocks manually by using https://github.com/matryer/moq, which will generate such mocking code for you
-
How do you control behaviour in mocked interface ?
I like the way of matryer/moq a lot. Basically, it generates a func for each of the methods of an interface, therefore the behaviour is clear to everyone without too much abstraction.
-
What mocking framework do you prefer?
This one is easy to use, simple, powerful and idiomatic https://github.com/matryer/moq
postgres
- How to Escape a Container
-
Problem with Postgres container configuration?
EDIT: Somehow i managed to fix it right now (I struggled with this problem yesterday for hours). This github issue have helped: https://github.com/docker-library/postgres/issues/537 If anyone runs into this problem, those are crucial instructions that helped me: docker system prune docker-compose up --force-recreate --build --remove-orphans --always-recreate-deps --renew-anon-volumes
- PostgreSQL 16 Beta 1 Released!
-
PyPI new user and new project registrations temporarily suspended
Tragedy of the commons - only need a few actors to ruin it all for us. Almost all distributors face this problem, from Docker Hub to PyPI. This also reminded me of official Postgres Docker image running a cryptominer in the background [1]
[1] - https://github.com/docker-library/postgres/issues/770
- [Docker] Point d’entrée Docker-initdb.d Postgres
-
Nix Turns 20. What the Hell Is It?
If you open the dockerfile of the desired container, you can determine exactly how and what was built. If not satisfied, you can always build your own container with the right postgresql build flags.
-
archive_command not being executed?
Ok according to The Dockerfile, postgres is running in /var/lib/postgresql/data so you will need enter the container and look at the log files in /var/lib/postgresql/data/pg_log/
-
How do I create a docker image for postgres with nix?
I got started on trying to make a basic postgres image but I can't seem to figure out how to include a shell script in the same folder as my nix file (fetched from https://github.com/docker-library/postgres/blob/master/docker-entrypoint.sh and to be modified once I get it working) into the docker image as an entrypoint
- Postgres on docker works without a shell perfectly but fails when run via shell
-
What exactly is VOLUME used for inside the dockerfile?
See example here : https://github.com/docker-library/postgres/issues/601
What are some alternatives?
gomock - GoMock is a mocking framework for the Go programming language.
pgBackRest - Reliable PostgreSQL Backup & Restore
mockery - A mock code autogenerator for Go
spilo - Highly available elephant herd: HA PostgreSQL cluster using Docker
Testify - A toolkit with common assertions and mocks that plays nicely with the standard library
checkmk - Checkmk - Best-in-class infrastructure & application monitoring
NSubstitute - A friendly substitute for .NET mocking libraries.
MeshCentral - A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
counterfeiter - A tool for generating self-contained, type-safe test doubles in go
kanban-board - Single-click full-stack application (Postgres, Spring Boot & Angular) using Docker Compose
GORM - The fantastic ORM library for Golang, aims to be developer friendly
deck-chores - A job scheduler for Docker containers, configured via labels.