go 迭代string数组,直接拷贝去用即可
package main
import (
"fmt"
)
func main() {
subsCodes := []string{"aaaa", "vvvvv", "dddd", "eeeee", "gfgggg"}
for _, s := range subsCodes {
fmt.Println(s)
}
}
如果文章或资源对您有帮助,欢迎打赏作者。一路走来,感谢有您!
txttool.com 说一段 esp56物联 查询128 IP查询