import "github.com/boombuler/barcode/ean"
Package ean can create EAN 8 and EAN 13 barcodes.
encoder.go
func Encode(code string) (barcode.BarcodeIntCS, error)
Encode returns a EAN 8 or EAN 13 barcode for the given code