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

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


Branch: CURRENT, Version: 1.1.0nb1, Package name: go-impl-1.1.0nb1, 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)


CVS history: (Expand)


   2022-08-12 22:38:12 by Benny Siegert | Files touched by this commit (114) | Package updated
Log message:
Revbump all Go packages after go118 security update
   2022-07-19 22:37:27 by Benny Siegert | Files touched by this commit (5)
Log message:
New package, go-impl-1.1.0.

Needed by the new gopls.

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