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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Extract Stringify() helper? #584

Closed
hackebrot opened this Issue Mar 7, 2017 · 6 comments

Comments

Projects
None yet
4 participants
@hackebrot

hackebrot commented Mar 7, 2017

Hey there! Thank you for making go-github! 馃槃

I find the Stringify() function super useful and wonder whether it could be a separate project for other projects to import and use. I couldn't find an open or closed issue on this, apologies if this is the wrong place to ask.

I would be happy to implement the library, but want to give proper attribution.

What do you think?

@gmlewis

This comment has been minimized.

Collaborator

gmlewis commented Mar 7, 2017

+cc @willnorris as he is the original author of go-github and Stringify in 8f77def

@willnorris

This comment has been minimized.

Member

willnorris commented Mar 7, 2017

Fine with me. The BSD license go-github is under certainly allows for that :)

@hackebrot

This comment has been minimized.

hackebrot commented Mar 8, 2017

Awesome! Thanks very much @willnorris @gmlewis 馃槂

@hackebrot hackebrot closed this Mar 8, 2017

@hackebrot

This comment has been minimized.

hackebrot commented Mar 13, 2017

@dmitshur

This comment has been minimized.

Member

dmitshur commented Mar 13, 2017

go-repr allows you to debug print your objects with a single line of code.

By the way, in case you're not already aware of them, there are some libraries for "deep pretty printing" Go structs, such as https://github.com/davecgh/go-spew and https://github.com/shurcooL/go-goon#readme. If you already knew that, carry on.

@hackebrot

This comment has been minimized.

hackebrot commented Mar 14, 2017

Thank you @shurcooL! 馃檱

I had come across go-spew. I'll have a look at your project too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment