diff options
author | xuri <xuri.me@gmail.com> | 2020-08-14 16:09:50 +0000 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-08-15 09:19:35 +0000 |
commit | c3e92a51d744bc8420e0626b06ee3a0efd030341 (patch) | |
tree | 3ddf72f53711ae898baf584287d6b4b7ad4276b9 /lib.go | |
parent | cb6f8852bb764ffc1f9b637faaf594353476e17c (diff) |
Compatible with Go 1.15, fix unit test failed on Windows and fixed #689 potential race condition
Diffstat (limited to 'lib.go')
-rw-r--r-- | lib.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -167,7 +167,7 @@ func ColumnNumberToName(num int) (string, error) { } var col string for num > 0 { - col = string((num-1)%26+65) + col + col = string(rune((num-1)%26+65)) + col num = (num - 1) / 26 } return col, nil |