Golang interface {} rotation array

Hello everyone: my array Zhang looks like this, but he says it"s an interface type [10.130.17.10 10.130.17.102] typeof is [] interface {}

I for loops say that interface types cannot range for loops. Could you tell me how to forcibly transfer it to an array?
cannot range overSourceIp (type interface {})

Dec.21,2021

// A Number represents a JSON number literal.
type Number string

// String returns the literal text of the number.
func (n Number) String() string { return string(n) }

// Float64 returns the number as a float64.
func (n Number) Float64() (float64, error) {
    return strconv.ParseFloat(string(n), 64)
}

// Int64 returns the number as an int64.
func (n Number) Int64() (int64, error) {
    return strconv.ParseInt(string(n), 10, 64)
}
Menu