Posted by jpluimers on 2020/10/06
path.Join is for file paths, which will call path.Clean and malform the path by converting double slash in front of the authority in a URI into a single slash.
The workaround is to parse the URI, then join the path bit.
One day I will encapsulate all that.
Some relevant bits for when I write that encapsulation:
–jeroen
Like this:
Like Loading...
Posted in Development, Go (golang), Software Development | Leave a Comment »
Posted by jpluimers on 2020/10/06
A while ago, I had to translate from the country codes used on cars to ISO country codes, so here are a few links:
–jeroen
Like this:
Like Loading...
Posted in Development, LifeHacker, Power User, Software Development | Leave a Comment »