golang 在字符串中嵌入变量 parameter := fmt.Sprintf("squeue -h -j %s | awk '{print $8}'", jobid) golang 2024-05-19 182 点赞 2 评论 275 浏览