Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to run go-pry outside of main package #19

Open
catherinetcai opened this issue Jul 11, 2017 · 4 comments
Open

Ability to run go-pry outside of main package #19

catherinetcai opened this issue Jul 11, 2017 · 4 comments

Comments

@catherinetcai
Copy link

I'm wondering if it's in the scope of go-pry to eventually allow it to run in non-main packages. The way I currently have my Go project set up is to have a main package that sources certain functionalities from a ton of subpackages.

@d4l3k
Copy link
Owner

d4l3k commented Jul 11, 2017 via email

@d4l3k
Copy link
Owner

d4l3k commented Jul 11, 2017 via email

@tomaswitek
Copy link

Hi @d4l3k thx for you great project.
I am comming from Ruby environment so I am very happy to see a REPL for go 🚀
Just a question is there already a way how I could specify non-main package?

@d4l3k
Copy link
Owner

d4l3k commented Oct 5, 2017

There's currently no way, but it jwould make a lot of sense to add a new flag to specify extra packages to pry into. Like go-pry run -pkgs="pkg1,pkg2" foo.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants