Giter Site home page Giter Site logo

ricardoerikson / vscode-go-impl-methods Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 5.0 786 KB

Visual Studio Code extension to automatically implement interface methods for Golang

License: MIT License

JavaScript 14.11% TypeScript 84.51% Go 1.38%
generation golang golang-interfaces interfaces interfaces-go methods stubs

vscode-go-impl-methods's People

Contributors

neonxp avatar ricardoerikson avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

vscode-go-impl-methods's Issues

impl not found

Hello! I have a problem. After choice needed interface from list, i have error:
изображение

no such file or directory (go executable)

interface github.com/hashicorp/go-retryablehttp.LeveledLogger not found: couldn't find package github.com/hashicorp/go-retryablehttp: go/build: go list github.com/hashicorp/go-retryablehttp: fork/exec /opt/homebrew/Cellar/go/1.22.0/libexec/bin/go: no such file or directory

I'm not sure where it's getting that path from. I haven't got 1.22.0 setup anywhere in my system.
It's all 1.22.1

E.g:

go env | grep "1.22"
GOROOT='/opt/homebrew/Cellar/go/1.22.1/libexec'
GOTOOLDIR='/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64'
GOVERSION='go1.22.1'

Invalid receiver: "'m"

Hi Recardo

The plugin doesn't work even with the provided example by yourself.

Here's what I do:

type myStruct struct {}

// m myStruct

The error is as the title: Invalid receiver: "'m".
Note the single quote before the receiver's name in the error message

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.