...

Package ean

import "github.com/boombuler/barcode/ean"
Overview
Index

Overview ▾

Package ean can create EAN 8 and EAN 13 barcodes.

func Encode

func Encode(code string) (barcode.BarcodeIntCS, error)

Encode returns a EAN 8 or EAN 13 barcode for the given code