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

Support external dependency in gazelle #74

Merged
merged 2 commits into from
Aug 24, 2016
Merged

Conversation

yugui
Copy link
Contributor

@yugui yugui commented Aug 23, 2016

c.f. #15

@yugui
Copy link
Contributor Author

yugui commented Aug 23, 2016

@pmbethe09 This is another step toward #15. Could you take a look?

}

components := strings.Split(prefix, "/")
labels := strings.Split(components[0], ".")
Copy link
Contributor

Choose a reason for hiding this comment

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

why not just call sort.Reverse(labels)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sort.Reverse is not what we want. It wraps an ascending comparator and returns a descending comparator.

@pmbethe09
Copy link
Contributor

LGTM with one comment.

@yugui yugui merged commit fcb9af0 into master Aug 24, 2016
@yugui yugui deleted the feature/gazel-external branch August 24, 2016 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants