You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
809B

  1. // Copyright 2016 - 2019 The excelize Authors. All rights reserved. Use of
  2. // this source code is governed by a BSD-style license that can be found in
  3. // the LICENSE file.
  4. //
  5. // Package excelize providing a set of functions that allow you to write to
  6. // and read from XLSX files. Support reads and writes XLSX file generated by
  7. // Microsoft Excel™ 2007 and later. Support save file without losing original
  8. // charts of XLSX. This library needs Go version 1.10 or later.
  9. package excelize
  10. import "fmt"
  11. func newInvalidColumnNameError(col string) error {
  12. return fmt.Errorf("invalid column name %q", col)
  13. }
  14. func newInvalidRowNumberError(row int) error {
  15. return fmt.Errorf("invalid row number %d", row)
  16. }
  17. func newInvalidCellNameError(cell string) error {
  18. return fmt.Errorf("invalid cell name %q", cell)
  19. }