本篇文章主要讲解如何在 Docker 中进行 Go 单元测试,依赖 Docker 和 Go Modules。
分类:
其他好文 时间:
2019-09-23 13:42:22
阅读次数:
81
/** 数字金额大写转换(可以处理整数,小数,负数) */function smalltoBIG(n){var fraction = ['角', '分'];var digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];var unit ...
分类:
Web程序 时间:
2019-09-23 09:53:48
阅读次数:
112
首先:需要更新你的yum源,保证yum源最新。 1.安装: yum install -y mariadb-server 2.启动maria DB服务: systemctl start mariadb.service (说明:CentOS 7.x开始,CentOS开始使用systemd服务来代替dae ...
分类:
数据库 时间:
2019-09-22 21:31:45
阅读次数:
790
安装环境:一个崭新的centos 7系统 首先进入目录/home并在里面新建一个文件夹用来存放下一步要下载的mysql的yum repository 进入到刚刚新建的文件夹,键入命令 下载完成后键入进行安装 然后就可以用yum安装myqsl了,键入 就开始下载和安装了,安装完成后键入 用来启动MyS ...
分类:
数据库 时间:
2019-09-22 15:18:49
阅读次数:
132
[root@aliyun-hk-3th-test-db01 ~]# cat /usr/lib/systemd/system/predixy.service [Unit] Description=predixy Documentation=https://github.com/joyieldInc/p... ...
分类:
其他好文 时间:
2019-09-22 13:12:59
阅读次数:
75
项目接过来突然报这些被折磨死了:上网查各种奇怪的答案的都有还是没有解决 静下心挨个注释页面只剩导航切换了,还是报错我就纳闷了。 周末回家挨个注释, 项目重启,开发工具重启(为了去掉缓存之类的) 结果定位到每次滑倒下面一定距离,这个是猜你喜欢的那块分页的逻辑, 然后下滑请求接口注释就不报错了,后来请求 ...
分类:
Web程序 时间:
2019-09-22 01:40:42
阅读次数:
189
参考定义见:backpack_3d.lua Local map frame是一次slam过程中的原点。但是现在cartographer支持Incremental mapping。global map是整个地图的原点,local map是每一次建图的原点。 map_frame = “map”:cart ...
分类:
其他好文 时间:
2019-09-21 15:33:02
阅读次数:
271
https://blog.csdn.net/qgy1677/article/details/79118508 C:\Program Files\Unity\Hub\Editor\2018.4.3f1\Editor\Data\PlaybackEngines\AndroidPlayer\Variatio ...
分类:
移动开发 时间:
2019-09-21 15:13:58
阅读次数:
116
You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. ...
分类:
其他好文 时间:
2019-09-21 10:45:54
阅读次数:
86
ArrayList高级 equals()方法 判断两个ArrayList对象里面的 元素是否全部相等 ,true(相等)、false(不相等)。 isEmpty()方法 判断当前的 集合是否为空 ,true(为空)、false(非空)。 & ...
分类:
其他好文 时间:
2019-09-19 19:23:38
阅读次数:
70