摘要: package main import ( "fmt" "time" ) var channel = make(chan int, 5) func main() { go producer() // 遍历通道 for i:= range channel { fmt.Printf("consume % 阅读全文
posted @ 2024-04-30 18:06 飞雪飘鸿 阅读(3) 评论(0) 推荐(0) 编辑
摘要: package main import ( "fmt" ) func main() { arr:=make([]int, 3,5) arr[0],arr[1],arr[2]=2,7,9 brr:=append(arr,8) fmt.Printf("%d %d\n",len(arr),len(brr) 阅读全文
posted @ 2024-04-30 17:17 飞雪飘鸿 阅读(1) 评论(0) 推荐(0) 编辑
摘要: mkdir my-project cd my-project go mod init my-project $ go get fyne.io/fyne/v2@latest $ go install fyne.io/fyne/v2/cmd/fyne@latest 如果您不确定 Go 模块的工作原理,请 阅读全文
posted @ 2024-04-30 15:04 飞雪飘鸿 阅读(6) 评论(0) 推荐(0) 编辑
摘要: @echo off REM Author: YooooungLee TEL 155-****-9552 echo 欢迎使用自动关机计划设置脚本! echo. :choose_action set /p "action_choice=请选择要执行的操作(输入1设置定时关机任务,输入2删除定时关机任务) 阅读全文
posted @ 2024-04-30 09:23 飞雪飘鸿 阅读(26) 评论(0) 推荐(0) 编辑
https://damo.alibaba.com/ https://tianchi.aliyun.com/course?spm=5176.21206777.J_3941670930.5.87dc17c9BZNvLL