Rainbond/mockgen.sh

5 lines
336 B
Bash
Raw Normal View History

2019-08-16 12:52:29 +08:00
#!/bin/bash
2019-08-25 22:19:27 +08:00
mockgen -source=worker/appm/store/store.go -destination=worker/appm/store/mock_store.go -package=store
mockgen -source=db/db.go -destination=db/db_mock.go -package=db
mockgen -source=db/dao/dao.go -destination=db/dao/dao_mock.go -package=dao
mockgen -source=event/manager.go -destination=event/manager_mock.go -package=event