command
module
Version:
v0.0.0-...-394ee82
Opens a new window with list of versions in this module.
Published: Sep 4, 2019
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
gentest
generates test funcs for implementing an interface.
go get -u github.com/ikeikeikeike/gentest
Sample usage:
$ gentest 'f *File' io.ReadWriteCloser
// not implemented
func TestRead(t *testing.T) {}
// not implemented
func TestWrite(t *testing.T) {}
// not implemented
func TestClose(t *testing.T) {}
Documentation
¶
impl generates method stubs for implementing an interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.