-
Notifications
You must be signed in to change notification settings - Fork 37
Proposal: rename module and package #2
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
Comments
I'm a fan of descriptive package names.
Thank you for the feedback, but I'm going to keep it as-is 😄 |
Thanks for taking the time to respond.
Indeed, but I think there is something to be said for the import path also conveying meaning/scope too. So I would find:
preferable for example. As I understand it, people use a Vanity import paths are, to my mind, cleaner: because they abstract away from where code is stored/maintained. Tools and sites like https://pkg.go.dev could and should, I agree, make it easier to quickly navigate from import path to source location. I also have hopes that pkg.go.dev will improve things on the discoverability front too.
I think the context is important here because it's more a question of whether we are likely to use another package called And if there were a clash, then an import path like:
would at least allow us to alias one of the packages to another name and still know exactly which package we are referring to in either case. FWIW, https://godoc.org/?q=actions shows 18 packages named
Yes, I was aware of this - thanks.
Per above, I think pkg.go.dev (and other such tools) should improve things on the discoverability front: the package name is one element that contributes to a hit score, just as the remainder of the import path and documentation convey details too.
I appreciate the exchange in any case, thank you. |
Just as a data point, we have packages like |
This issue has been automatically locked since there has not been any |
Firstly, thank you very much for starting this project. Your blog post inspired me to try and take the idea further:
https://blog.myitcv.io/2020/02/04/portable-ci-cd-with-pure-go-github-actions.html
I wonder, however, whether in these v0 days we should consider a different module path and package name:
github.com/sethvargo/go-githubactions
has the disadvantage that:githubactions
, is rather longOptions we have:
github.com/sethvargo/actions
sethvargo.com/actions
Thoughts?
The text was updated successfully, but these errors were encountered: