Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
gozxing
✓ github.com/makiuchi-d/gozxing
Decodes a barcode from an image using the ZXing port.
package main
import (
"fmt"
"github.com/makiuchi-d/gozxing"
"github.com/makiuchi-d/gozxing/common"
)
func main() {
// Decode a barcode from an image (example placeholder)
reader := gozxing.NewMultiFormatReader()
// Assume bitmap is loaded
result, err := reader.Decode(common.NewLuminanceSourceFromImage(nil))
if err != nil {
fmt.Println("Error:", err)
return
}
fmt.Println("Decoded:", result.GetText())
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.1.1latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.