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 go.mod files #129

Open
andybons opened this issue Dec 19, 2018 · 2 comments
Open

Support go.mod files #129

andybons opened this issue Dec 19, 2018 · 2 comments

Comments

@andybons
Copy link

Support for dep was implemented in #75. The Go ecosystem is moving toward dependencies specified by a go.mod file (https://go.googlesource.com/go/+/master/src/cmd/go/internal/modfile/).

Let me know if there’s any other info I can provide. Thank you.

@znarf
Copy link
Member

znarf commented Dec 19, 2018

Do you have an example of a repo with a go.mod?

To implement that, we just need to replicate what was done for dep in https://github.com/opencollective/backyourstack/blob/master/src/lib/dependencies/dep.js

@andybons
Copy link
Author

Here’s a rather large one: https://github.com/perkeep/perkeep/blob/master/go.mod

The issue with following what was done with dep is that there’s no JS-native parser for go.mod files. I may spend some time to port the Go impl over so that people have something to build off of.

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

2 participants