Skip to content

pedrogameiro/gomock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage: gomock [-h] [-d value] [-p value] <package> <interface>
Generates mocks for a go interface. 

<package>
	Package name or path to the package of interface to mock

<interface>
	Name of the interface to mock

Examples:
    gomock hash Hash
    gomock golang.org/x/tools/godoc/analysis Link 

    gomock --package testutils io Reader
    gomock --directory $GOPATH/src/github.com/pedrogameiro/gomock hash Hash

 -d, --directory=value
             package source directory, useful for vendored code
 -h, --help  Help
 -p, --package=value
             package name
go get -u github.com/pedrogameiro/gomock

original forked code https://github.com/josharian/impl

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages