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

Make horizonclient examples fully qualified #1867

Merged
merged 13 commits into from
Oct 22, 2019
Merged

Make horizonclient examples fully qualified #1867

merged 13 commits into from
Oct 22, 2019

Conversation

jstemmer
Copy link
Contributor

I've moved all the Example* functions from the various horizonclient tests into a single examples_test.go file and named the package horizonclient_test. This means the horizonclient package must be explicitly imported, making the examples fully qualified and easier to use.

I've created a commit per individual file that was updated and aside from resolving the compiler errors made no other code changes. The final commit has some minor formatting changes. I can split it up in separate PR's if preferred in case that's easier to review.

Fixes #1660

@cla-bot cla-bot bot added the cla: yes label Oct 21, 2019
Copy link
Contributor

@abuiles abuiles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good to me! However, I'm deferring to @leighmcculloch and @ire-and-curses for an extra pair of 👁

Copy link
Member

@ire-and-curses ire-and-curses left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! 🎉

@ire-and-curses ire-and-curses merged commit 6933718 into stellar:master Oct 22, 2019
@jstemmer jstemmer deleted the examples branch October 22, 2019 19:20
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

Successfully merging this pull request may close these issues.

Make examples fully qualified
3 participants