blob: 54637efabd9913bb96f65cc3eea19e67b095c6fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
impl generates method stubs for implementing an interface.
Sample usage:
$ impl 'f *File' io.ReadWriteCloser
func (f *File) Read(p []byte) (n int, err error) {
panic("not implemented")
}
func (f *File) Write(p []byte) (n int, err error) {
panic("not implemented")
}
func (f *File) Close() error {
panic("not implemented")
}
|