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

Use absolute import instead of relative import #19

Merged
merged 1 commit into from
Jul 26, 2017

Conversation

ChimeraCoder
Copy link
Contributor

Relative imports are technically permitted by the Go toolchain, but they can cause issues, and dep doesn't support them. In this example file, an absolute import works just as well, which allows projects using dep to import this package.

@patrickxb patrickxb merged commit ad91dc4 into stathat:master Jul 26, 2017
@patrickxb
Copy link
Collaborator

thanks!

@ChimeraCoder ChimeraCoder deleted the import branch July 26, 2017 18:46
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.

2 participants