From cbfd6577536304f9b0b93edb7748475d8266fe19 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Fri, 9 Sep 2016 19:39:41 +0800 Subject: New function SetCellValue added and update godoc example. --- excelize_test.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'excelize_test.go') diff --git a/excelize_test.go b/excelize_test.go index 7d37a6a..09bfef1 100644 --- a/excelize_test.go +++ b/excelize_test.go @@ -26,6 +26,11 @@ func TestExcelize(t *testing.T) { file.GetCellValue("Sheet2", "C11") file.GetCellValue("Sheet2", "D11") file.GetCellValue("Sheet2", "D12") + // Test SetCellValue function + file.SetCellValue("Sheet2", "F1", "Hello") + file.SetCellValue("Sheet2", "G1", []byte("World")) + file.SetCellValue("Sheet2", "F2", 42) + file.SetCellValue("Sheet2", "G2", nil) // Test read cell value with given axis large than exists row file.GetCellValue("Sheet2", "E13") -- cgit v1.2.1