func AddSheet(cols []string, line string, excel *ge.Goexcel) { CheckColno(cols, 2, 2, line) err := excel.AddSheet(cols[1]) if err != nil { fmt.Fprintf(os.Stderr, cols[1]+" can't add :"+line) os.Exit(2) } }