3 ms·
This is needed badly. I am a huge Golang advocate, but I refuse to use the "github.com" package naming/folder setup mess. It's just not elegant.
by mmkx 10y ago
This is needed badly. I am a huge Golang advocate, but I refuse to use the "github.com" package naming/folder setup mess. It's just not elegant.
- jvehent 10y agoProjects I care about use a domain I control. It's not that hard to setup: https://jve.linuxwall.info/blog/index.php?post/2015/08/26/Hosting_Go_code_on_Github_with_custom_import_path https://jve.linuxwall.info/blog/index.php?post/2015/08/26/Ho... We even do it with just an S3 bucket for go.mozilla.org: https://go.mozilla.org/ https://go.mozilla.org/
- mfer 10y agoI'm a fan of that as well. Had not considered using S3 for that. Do you know of a good writeup for handling "?go-get=1" paths differently from html paths in S3? I should likely know this but a quick pointer would be helpful.
- jvehent 10y agoI have not looked into this. The S3 method is kinda experimental. It works for first-level packages but fails for nested packages. We need to look into setting up redirects for those. The best way to do this yourself is to run an instance of https://github.com/niemeyer/gopkg https://github.com/niemeyer/gopkg, but that's not #serverless anymore ;)
- dlsniper 10y agoYou spelled Go incorrectly.