From 713dc45fb8e0664de769db5b424d1a2253a6200c Mon Sep 17 00:00:00 2001 From: Amogh Desai Date: Fri, 31 May 2024 15:15:57 +0530 Subject: [PATCH] Adding moq to utilities (#5022) Co-authored-by: adesai Co-authored-by: Phani Rithvij --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d1b72e4c..0e99da78 100644 --- a/README.md +++ b/README.md @@ -2407,6 +2407,7 @@ _Libraries for testing codebases and generating test data._ - [mockery](https://github.com/vektra/mockery) - Tool to generate Go interfaces. - [mockhttp](https://github.com/tv42/mockhttp) - Mock object for Go http.ResponseWriter. - [mooncake](https://github.com/GuilhermeCaruso/mooncake) - A simple way to generate mocks for multiple purposes. +- [moq](https://github.com/matryer/moq) - Utility that generates a struct from any interface. The struct can be used in test code as a mock of the interface. - [timex](https://github.com/cabify/timex) - A test-friendly replacement for the native `time` package. - [xgo](https://github.com/xhd2015/xgo) - A general pureposed function mocking library.