Explorar el Código

Add a couple of docstrings.

Geoffrey J. Teale hace 11 años
padre
commit
e61b645208
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      style.go

+ 2 - 0
style.go

@@ -13,10 +13,12 @@ type Style struct {
 	ApplyFont   bool
 }
 
+// Return a new Style structure initialised with the default values.
 func NewStyle() *Style {
 	return &Style{}
 }
 
+// Generate the underlying XLSX style elements that correspond to the Style.
 func (style *Style) makeXLSXStyleElements() (xFont xlsxFont, xFill xlsxFill, xBorder xlsxBorder, xCellStyleXf xlsxXf, xCellXf xlsxXf) {
 	xFont = xlsxFont{}
 	xFill = xlsxFill{}