Versions in this module Expand all Collapse all v0 v0.0.2 Jun 11, 2023 v0.0.1 Jun 11, 2023 Changes in this version + const ADDON + const ADDON2 + const ADDON5 + const CODE128 + const CODE39 + const EAN13 + const EAN8 + const I25 + const ISBN10 + const ISBN13 + const NONE + const PARTIAL + const PDF414 + const QRCODE + const SYMBOL + const UPCA + const UPCE + const VX_DF_IMAGE_Y800 + const ZBAR_ADDON + const ZBAR_ADDON2 + const ZBAR_ADDON5 + const ZBAR_CODE128 + const ZBAR_CODE39 + const ZBAR_EAN13 + const ZBAR_EAN8 + const ZBAR_I25 + const ZBAR_ISBN10 + const ZBAR_ISBN13 + const ZBAR_NONE + const ZBAR_PARTIAL + const ZBAR_PDF417 + const ZBAR_QRCODE + const ZBAR_SYMBOL + const ZBAR_UPCA + const ZBAR_UPCE + func GetDataFromFile(imagePath string) (results []string, err error) + func GetDataFromImage(image image.Image) (results []string, err error) + type DerefSymbol struct + Data string + Type SymbolType + type RawData string + type Scanner struct + func NewScanner() *Scanner + func (s *Scanner) Close() + func (s *Scanner) Scan(img *ZbarImage) (int, error) + func (s *Scanner) SetConfig(symbology C.zbar_symbol_type_t, config C.zbar_config_t, value int) int + type Symbol struct + func NewSymbol(z *C.zbar_symbol_t) *Symbol + func (s *Symbol) Data() string + func (s *Symbol) Deref() DerefSymbol + func (s *Symbol) Next() *Symbol + func (s *Symbol) Type() SymbolType + type SymbolType struct + func (t SymbolType) IsQRCODE() bool + type ZbarImage struct + func NewZbarImage(img image.Image) *ZbarImage + func (z *ZbarImage) Close() + func (z *ZbarImage) DerefSymbols() []DerefSymbol + func (z *ZbarImage) GetSymbol() *Symbol