Giter Site home page Giter Site logo

Missing dependencies about go-pry HOT 3 CLOSED

d4l3k avatar d4l3k commented on May 14, 2024
Missing dependencies

from go-pry.

Comments (3)

d4l3k avatar d4l3k commented on May 14, 2024

Okay, I can definitely reproduce this issue. It's being caused by how you're handling dependencies.

By default, when you run "go get" it skips fetching test only dependencies. If you go into the directory of your package and run

$ go get -t ./...

go-pry works just fine.

However, I'll add a check to only check *_test.go if tests are required.

from go-pry.

Integralist avatar Integralist commented on May 14, 2024

Hi thanks for the feedback. I've tried this on both my Go-Requester project and another project is very simply and just uses the AWS SDK and I've found in both cases if I run go get -t as you've suggested then include pry.Pry() I indeed get no errors but it also doesn't actually drop me into the pry session.

from go-pry.

d4l3k avatar d4l3k commented on May 14, 2024

That's really interesting.

Could you give me a few more details about

  • your go version
  • operating system
  • exact command used to launch go-pry

I tried your go-requester project and put pry.Pry() into the "/" route and it worked just fine when I accessed that endpoint.

from go-pry.

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.