New feature: File.DuplicateRowTo() duplicate row to specified row position.
DuplicateRowTo() is similar to DuplicateRow() but copies specified row not just after specified source row but to any other specified position below or above source row. Also I made minor modifications of tests: using filepath.Join() instead of direct unix-way paths strings to avoid possible tests fails on other OS.
Showing
... | @@ -3,6 +3,5 @@ module github.com/360EntSecGroup-Skylar/excelize | ... | @@ -3,6 +3,5 @@ module github.com/360EntSecGroup-Skylar/excelize |
require ( | require ( | ||
github.com/davecgh/go-spew v1.1.1 // indirect | github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 | github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | github.com/stretchr/testify v1.3.0 | ||
github.com/stretchr/testify v1.2.3-0.20181224173747-660f15d67dbb | |||
) | ) |
想要评论请 注册 或 登录