goconvery基本使用 (1.)项目地址 https://github.com/smartystreets/goconvery (2.)安装 go get -u github.com/smartystreets/goconvery/convery (3.)启动UI界面 $GOPATH/bin/g ...
分类:
其他好文 时间:
2021-04-20 14:09:28
阅读次数:
0
Java常用类:System类 System 系统类主要用于获取系统的属性数据和其他操作,构造方法私有 常用方法 方法名 说明 static void arraycopy(); 复制数组 static long currentTimeMillis(); 获取当前系统时间,返回的是毫秒值 static ...
分类:
编程语言 时间:
2021-04-19 15:47:34
阅读次数:
0
通过nginx -t获得 nginx=`nginx -t 2>&1 | grep configuration` if [ ! -z "$nginx" ];then nginxtmp="${nginx#*file}" nginxf="${nginxtmp%test*}" echo $nginxf fi ...
分类:
系统相关 时间:
2021-04-19 15:38:16
阅读次数:
0
当我们程序遇到异常时,会导致程序中止运行,见如下例子: def test(): a = int(input("please input:")) b = int(input("please input:")) result = a / b print(result) def test_1(): pri ...
分类:
编程语言 时间:
2021-04-19 14:38:29
阅读次数:
0
安装第三方插件数据:pip install plmysql 安装到了本地python引用 代码调用 首先在python 文件中导入 import pymysql 看是否成功 ,成功则可连接,以上安装成功若导入还有问题重启一下python 即可 import pymysqlconnect =pymys ...
分类:
数据库 时间:
2021-04-19 14:36:30
阅读次数:
0
merge函数的作用是:将两个已经排好序的序列合并为一个有序的序列。 函数参数:merge(first1,last1,first2,last2,result,compare); firs1t为第一个容器的首迭代器,last1为第一个容器的末迭代器; first2为第二个容器的首迭代器,last2为容 ...
分类:
其他好文 时间:
2021-04-16 11:46:46
阅读次数:
0
一、什么是 Postman(前世今生) Postman 诞生于 2013 年,一开始只是 Abhinav Asthana 着手于解决 API 测试的工具,随着这个工具的使用者和需求迅速激增,Abhinav Asthana 找了他的两个前同事 Ankit Sobti 和 Abhijit Kane 一起 ...
分类:
其他好文 时间:
2021-04-15 12:44:02
阅读次数:
0
func isPalindrome(x int) bool { if x<0{ return false } var result int for i:=x; i!=0; i=i/10{ tmp := i%10 result = result*10 + tmp } return result==x ...
分类:
其他好文 时间:
2021-04-15 12:05:10
阅读次数:
0
mybatis对数据库的增删改查用<insert>字段来对数据库进行增加操作 <insert id="save" parameterType="mybatis.domain.user" keyColumn="id" keyProperty="id" useGeneratedKeys="true">I ...
分类:
数据库 时间:
2021-04-14 12:29:41
阅读次数:
0
OpenHarmony 1.1.0 LTS 版本已发布。相比OpenHarmony 1.0版本,1.1.0 LTS版本新增AI子系统、电源管理子系统、泛Sensor子系统、升级子系统,及统一AI引擎框架。 LiteOS-M 内核完成三方可移植性重构。驱动子系统完善了Wi-Fi、Sensor、Inpu ...
分类:
其他好文 时间:
2021-04-13 11:56:34
阅读次数:
0