anaganisk / digitalocean-dynamic-dns-ip

A simple script to automatically update Digital ocean DNS records with dynamic IP
Other
104 stars 22 forks source link

url.PathScape error when building #5

Closed deftoner closed 5 years ago

deftoner commented 5 years ago

Hello there! thanks for your work. I was trying to just do the build of your script for two hours now. :(

First install go, then downloading dependences (go-homedir package....), now after all that, I get this error: ./digitalocean-dynamic-ip.go:177: undefined: url.PathEscap ./digitalocean-dynamic-ip.go:269: undefined: url.PathEscape

Its an ubuntu server 18 almost clean install

johnjaylward commented 5 years ago

the url.PathEscape should be available in go 1.8 or higher. can you confirm your installed version: go version ?

deftoner commented 5 years ago

That was the issue, Thanks!