Registry / serialization / qr
library0.2.0gogounverified

Package qr encodes QR codes.

go get rsc.io/qr
INSTALL
IMPORT
SIG · QR
Q
qr
serializationgov0.2.0
harness data pending
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.

qr
✓ rsc.io/qr

Encodes a string into a QR code and outputs PNG bytes.

package main import ( "fmt" "rsc.io/qr" ) func main() { code, err := qr.Encode("Hello, world!", qr.Q) if err != nil { fmt.Println(err) return } fmt.Println(code.PNG()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
qr — go get qr · libregistry