Giter VIP home page Giter VIP logo

Comments (3)

tommy-muehle avatar tommy-muehle commented on July 27, 2024 2

@viktorasm Thanks for the report. Should be easy to implement.

from go-mnd.

tommy-muehle avatar tommy-muehle commented on July 27, 2024 2

@valer-cara I solved this by using regexp patterns. In this way we're very flexible.

from go-mnd.

valer-cara avatar valer-cara commented on July 27, 2024

@tommy-muehle - do you have a suggestion for the approach?

I'm imagining passing a list of ignored functions using their "fully qualified" name, similar to errcheck. Eg:

-ignored-functions="(*github.com/aws/aws-sdk-go.Config).MaxRetries"

The downside with this approach is that there's no type resolution at the AST level, so one needs much more complex parsing of the package tree to allow resolving an AST node to it's full name.

Do you see a cheaper way of identifying these ignorables? (not sure if i'm way off here)

from go-mnd.

Related Issues (20)

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.