Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 471 Bytes

DevManual.md

File metadata and controls

17 lines (12 loc) · 471 Bytes

The file mock_propsReader.go is generated file by the following approach

cd <project_home>
go get github.com/golang/mock/mockgen
cd $GOPATH/src/github.com/golang/mock/mockgen
go build
cd <project_home>
echo $PATH
cp mockgen.exe <User.Home>\go\bin\   #e.g. User.Home = C:\Users\eagle\
mockgen -destination mocks/mock_propsReader.go -package mocks -source PropsReader.go
mockgen -destination mocks/mock_OsUtils.go -package mocks -source utils/OsUtils.go