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