这里列举的Go语言常见坑都是符合Go语言语法的,可以正常的编译,但是可能是运行结果错误,或者是有资源泄漏的风险。 可变参数是空接口类型当参数的可变参数是空接口类型时,传入空接口的切片时需要注意参数展开的问题。 func main() { va...
configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution代码如下:yum -y install libxslt-develc...
1、关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firewall开机启动2、安装iptabl...