This is a package for GO which can be used to create different types of barcodes.
See GoDoc
To create a barcode use the Encode function from one of the subpackages.