摘要:
安装方法:命令行输入 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 回车(这里有提示目录不存在,要创建需要按return键,如果用的windows键 阅读全文
posted @ 2018-12-08 18:03
ma_fighting
阅读(18584)
评论(0)
推荐(0)
摘要:
首先安装单元测试包,go get github.com/smartystreets/goconvey/convey 源程序如下,定义了加减乘除4个函数 package test222 import ( "errors") func Add(a, b int) int { return a + b } 阅读全文
posted @ 2018-12-08 15:33
ma_fighting
阅读(4142)
评论(0)
推荐(1)
摘要:
阅读全文
posted @ 2018-12-08 14:46
ma_fighting
阅读(151)
评论(0)
推荐(0)
摘要:
在Mac OS X下安装 Mac OS X 下默认安装了openldap,我们只需要配置就可以。 1. 在/etc/openldap 下创建slapd.conf 文件(只需copy slapd.conf.default文件),运行如下命令: sudo cp slapd.conf.default sl 阅读全文
posted @ 2018-12-08 10:34
ma_fighting
阅读(1567)
评论(0)
推荐(0)