Explorar el Código

Merge pull request #51 from CodeLingoBot/rewrite

Fix function comments based on best practices from Effective Go
Florian hace 7 años
padre
commit
6c824513ba
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      utils/base1dcode.go

+ 1 - 1
utils/base1dcode.go

@@ -46,7 +46,7 @@ func (c *base1DCodeIntCS) CheckSum() int {
 	return c.checksum
 	return c.checksum
 }
 }
 
 
-// New1DCode creates a new 1D barcode where the bars are represented by the bits in the bars BitList
+// New1DCodeIntCheckSum creates a new 1D barcode where the bars are represented by the bits in the bars BitList
 func New1DCodeIntCheckSum(codeKind, content string, bars *BitList, checksum int) barcode.BarcodeIntCS {
 func New1DCodeIntCheckSum(codeKind, content string, bars *BitList, checksum int) barcode.BarcodeIntCS {
 	return &base1DCodeIntCS{base1DCode{bars, codeKind, content}, checksum}
 	return &base1DCodeIntCS{base1DCode{bars, codeKind, content}, checksum}
 }
 }