Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Golang Interface Stubs GeneratorNew to Visual Studio Code? Get it now.
Golang Interface Stubs Generator

Golang Interface Stubs Generator

Unknown Code

|
3,362 installs
| (0) | Free
generator some code stubs, make gophers quicker!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

go-interface-stubs-generator README

Help gophers to auto generate interface implimentaion stubs

Use code comments like blow:

// Foo @impl io.Closer
// Foo @impl io.Reader
type Foo ...

Then hover on @impl keyword, then click Quick fix... to generate code like this:


// FooImpl @impl io.Reader static check
var _ io.Reader = new(FooImpl)

func (f *FooImpl) Read(p []byte) (n int, err error) {
	panic("not implemented") // TODO: Implement
}

// FooImpl @impl io.Reader static check
var _ io.Reader = new(FooImpl)

func (f *FooImpl) Read(p []byte) (n int, err error) {
	panic("not implemented") // TODO: Implement
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft