【golang】golang使用cmd去ping网址在window和linux的区别
设置ping的次数,在linux和window上,命令内容不一样windowping -n 2 php-china.comlinuxping -c 2 php-china.com//设置类型别名type Charset stringconst ( UTF8 = Charset("UTF-8") GB18030 = Charset("GB18030") UNKNOWN = Charset("UNKNOWN"))func main()