摘要: https://gin-gonic.com/zh-cn/docs/quickstart/ 1.下载并安装 gin: go get -u github.com/gin-gonic/gin 2.将 gin 引入到代码中: import "github.com/gin-gonic/gin" package 阅读全文
posted @ 2024-01-17 21:26 Mr_sven 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 初始化项目后,页面会有自带的间距,这是浏览器本身的默认样式,所以我们需要进行样式初始化,清除浏览器默认样式。 安装初始化样式库reset-css 安装 npm i reset-css 最后在入口文件(main.js) 中引用(不同项目的入口文件不同可能,只要引入就行了) import 'reset- 阅读全文
posted @ 2023-11-08 21:33 Mr_sven 阅读(10) 评论(0) 推荐(0) 编辑
摘要: windows版本 nginx基本命令 使用taskkill停止或关闭nginx:taskkill /f /t /im nginx.exe (注意:使用taskkill /f /t /im nginx.exe命令关闭所启动的nginx时,不会删除logs中的nginx.pid文件) 1、首先 创建v 阅读全文
posted @ 2023-11-04 11:44 Mr_sven 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 参考文章 https://blog.csdn.net/u014155085/article/details/116782866 阅读全文
posted @ 2023-10-26 21:48 Mr_sven 阅读(77) 评论(0) 推荐(0) 编辑
摘要: public void fillExcel(HttpServletResponse response) throws IOException { ServletOutputStream out = response.getOutputStream(); response.setContentType 阅读全文
posted @ 2023-10-13 22:43 Mr_sven 阅读(869) 评论(0) 推荐(0) 编辑
摘要: 依赖 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi 阅读全文
posted @ 2023-09-14 22:34 Mr_sven 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 依赖 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi 阅读全文
posted @ 2023-09-14 21:58 Mr_sven 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 【官网】http://rocketmq.apache.org/ 1.复制rocketmq-all-4.9.2-bin-release.zip,rocketmq-all-4.9.2-source-release.zip到linux目录下 2.解压 unzip rocketmq-all-4.9.2-bi 阅读全文
posted @ 2023-09-06 23:06 Mr_sven 阅读(10) 评论(0) 推荐(0) 编辑
摘要: maven项目,把testng用例放在test目录下,配置pom.xml 文件如下,执行mvn test 能自动执行testng里面的用例。 pom文件配置 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://ww 阅读全文
posted @ 2023-09-03 23:01 Mr_sven 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 参考 https://blog.csdn.net/qq_41497111/article/details/96426824 {"store":{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the 阅读全文
posted @ 2023-08-31 22:09 Mr_sven 阅读(3) 评论(0) 推荐(0) 编辑