diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2019-11-03 22:40:53 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2019-11-03 22:40:53 +0000 |
commit | 185d22497864550413a20fc8ce2647b94a7b229b (patch) | |
tree | d67819da9eb770233416d61fbfaa25b5f205e97d | |
parent | c4abfedf30c5761e2b16f6d9e99fccca0f834bb3 (diff) |
doing things right by const
-rw-r--r-- | reader/reader.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/reader/reader.go b/reader/reader.go index d81108b..cda8350 100644 --- a/reader/reader.go +++ b/reader/reader.go @@ -12,8 +12,10 @@ import ( "github.com/tealeg/xlsx" ) -const maxCols = 16384 -const maxAlphabets = (maxCols / 26) - 1 +const ( + maxCols = 16384 + maxAlphabets = (maxCols / 26) - 1 +) //DatamapLine - a line from the datamap. type DatamapLine struct { |