From b8c3cc6cf8546db029353067bf1913c03e2294f0 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Sat, 20 Jan 2018 21:23:05 +0300 Subject: [PATCH] Added sh script to rebuild mocks for interfaces --- script/mocks | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 script/mocks diff --git a/script/mocks b/script/mocks new file mode 100755 index 0000000..d73d1ef --- /dev/null +++ b/script/mocks @@ -0,0 +1,4 @@ +#!/bin/sh + +mockgen -source=interfaces/repositories.go -destination=interfaces/mock_interfaces/mock_interfaces.go +mockgen -source=interfaces/api.go -destination=interfaces/mock_interfaces/mock_api.go