Sign in
go
/
tools
/
55fcfcaba30858d36aacedaa1df40dd538e88ac4
/
.
/
go
/
analysis
/
passes
/
modernize
/
testdata
/
src
/
splitseq
/
conv
/
nobytes.go
blob: b77ca1a6c55c631e052543f2c15b3f4064718947 [
file
]
package conv
import (
"net"
"strings"
)
func _(s string) net.IP {
var result net.IP
for _, b := range net.IP(strings.Split(s, ",")[0]) {
// nope: cannot modernize with the conversion
result = append(result, b)
}
return result
}