S1017: should replace this if statement with an unconditional strings.TrimPrefix
SA1019: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details.
changes:
privateAddress
is unusedS1017
: should replace thisif
statement with an unconditionalstrings.TrimPrefix
SA1019
: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details.