{"id":52132,"library":"qr","title":"QR Code","description":"Package qr encodes QR codes.","status":"active","version":"0.2.0","language":"go","source_language":null,"source_url":null,"tags":["qr","encoding","image"],"install":[{"cmd":"go get rsc.io/qr","lang":"bash","label":"Install rsc.io/qr"}],"dependencies":[],"imports":[{"symbol":"qr","correct":"rsc.io/qr"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"rsc.io/qr\"\n)\n\nfunc main() {\n\tcode, err := qr.Encode(\"Hello, world!\", qr.Q)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\treturn\n\t}\n\tfmt.Println(code.PNG())\n}","lang":"go","description":"Encodes a string into a QR code and outputs PNG bytes."},"warnings":[],"env_vars":null,"search_vec":"'code':2,7 'encod':5,9 'imag':10 'packag':3 'qr':1,4,6,8","created_at":"2026-06-15T06:42:35.160317+00:00","updated_at":"2026-06-15T06:42:35.160317+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/rsc/qr","github":null,"docs":"https://pkg.go.dev/rsc.io/qr#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}