diff options
| author | xuri <xuri.me@gmail.com> | 2018-05-27 11:25:55 +0800 | 
|---|---|---|
| committer | xuri <xuri.me@gmail.com> | 2018-05-27 11:25:55 +0800 | 
| commit | 9e463b4614348b3ddc04b1fedd5d662845ce0fb9 (patch) | |
| tree | 4ca438f66dcf3baa7d36727a3dd77400bc70aa57 /lib.go | |
| parent | aaced358f135ea871428bba87bb945cc170eee0f (diff) | |
- Add error return value for functions: `AddChart()`, `AddComment()`, `AddPicture()`, `AddShape()`, `AddTable()` and `SetConditionalFormat()`
- go test has been updated
Diffstat (limited to 'lib.go')
| -rw-r--r-- | lib.go | 2 | 
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ func readFile(file *zip.File) []byte {  		log.Fatal(err)  	}  	buff := bytes.NewBuffer(nil) -	io.Copy(buff, rc) +	_, _ = io.Copy(buff, rc)  	rc.Close()  	return buff.Bytes()  }  | 
