From 0dc64eb745ec52b40aec80b28c878f75172fbf57 Mon Sep 17 00:00:00 2001
From: Hau Nguyen
The first is easy to use but not powerful as the later. If you want to diff --git a/posts/2022-07-10-bootstrap-go.md b/posts/2022-07-10-bootstrap-go.md index 0a897de..6980f8e 100644 --- a/posts/2022-07-10-bootstrap-go.md +++ b/posts/2022-07-10-bootstrap-go.md @@ -360,7 +360,7 @@ It is easy to write a suite test, thanks to testify. Also, for mocking, there are many options out there. Pick 1 then sleep peacefully. -### If need to mock, choose [matryer/moq](https://github.com/matryer/moq) or [golang/mock](https://github.com/golang/mock) +### If need to mock, choose [matryer/moq](https://github.com/matryer/moq) or [uber/mock](https://github.com/uber/mock) The first is easy to use but not powerful as the later. If you want to make sure mock func is called with correct times, use the later.