04 2023 档案

摘要:pipeline { agent{ label 'hw' } environment { VERSION = sh(script: "echo `date '+%Y%m%d%H%M%S'`", returnStdout: true).trim() } stages { stage('克隆代码'){ 阅读全文
posted @ 2023-04-25 11:38 六月OvO 阅读(73) 评论(0) 推荐(0) 编辑
摘要:##可能原因 ###如果你连接的 mq 需要指定vhost,八成就是下面这个问题 ##解决方法 amqp.Dial("amqp://guest:guest@127.0.0.1:5672//dlyp") ###可以用下面这段代码测试 package main import ( "fmt" "githu 阅读全文
posted @ 2023-04-18 17:02 六月OvO 阅读(698) 评论(0) 推荐(0) 编辑
摘要:案例:读取文件内容 package main import ( "fmt" "os" ) func main() { // 打开文件 file, err := os.Open("G:\\test\\test.txt") if err != nil { fmt.Println("open file e 阅读全文
posted @ 2023-04-10 10:15 六月OvO 阅读(15) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示