Skip to content

Commit

Permalink
Merge pull request #51 from CodeLingoBot/rewrite
Browse files Browse the repository at this point in the history
Fix function comments based on best practices from Effective Go
  • Loading branch information
boombuler authored Feb 19, 2019
2 parents 34fff27 + 7bcb6b0 commit 6c82451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/base1dcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (c *base1DCodeIntCS) CheckSum() int {
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 {
return &base1DCodeIntCS{base1DCode{bars, codeKind, content}, checksum}
}
Expand Down

0 comments on commit 6c82451

Please sign in to comment.