./devel/go-impl, Generate method stubs for implementing an interface

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2022Q3, Version: 1.1.0nb2, Package name: go-impl-1.1.0nb2, Maintainer: bsiegert

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")
}


Master sites:

Filesize: 9.9 KB

Version history: (Expand)