Have a hugo blog? Want to give your go packages a custom import url (e.g. import "npf.io/gorram/run")? You can do it with just a few lines of templates / frontmatter.
It took some figuring out to get this working, but once you know how to do it, it's pretty easy. https://npf.io/2016/10/vanity-imports-with-hugo/ (note, the part about using a template for aliases for subpackages only works with latest master of Hugo, it didn't make it into release 0.17). -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.