You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(server): Fix link when external IP is IPv6 (#335)
The external IP module can return an IPv6 address, in which case the
method to append a port is to wrap it in square brackets before
appending the ":%d" port string.
Unfortunately Go's IP module does not have a great way to determine
whether an address is an IPv6 address, so fall back to counting the
number of colons in the result as suggested in
https://stackoverflow.com/a/48519490.
chore(go): require go 1.18 (#322)
* fix: require go 1.18
Fixes "predeclared any requires go1.18 or later (-lang was set to go1.16; check go.mod)"
* Updated go to 1.18 in go.sum
* Ran go mod tidy
* docs(README): update required Go version
---------
Co-authored-by: Claudio d'Angelis <claudiodangelis@gmail.com>