package services import ( "context" "eta/eta_data_analysis/utils" "fmt" "os/exec" ) func MailAttachment(context.Context) (err error) { cmd := exec.Command(utils.CoalMailAttachmentPythonVersion, utils.CoalMailAttachmentScriptPath) outputByte, err := cmd.Output() fmt.Println("start") if err != nil { return } fmt.Println(string(outputByte)) return }