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