{"id":22152267,"url":"https://github.com/auula/qrcode-go","last_synced_at":"2025-07-12T01:09:09.138Z","repository":{"id":57532029,"uuid":"278081966","full_name":"auula/qrcode-go","owner":"auula","description":"Golang genreate tool library of QrCode.","archived":false,"fork":false,"pushed_at":"2020-09-11T08:45:51.000Z","size":992,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T13:27:48.023Z","etag":null,"topics":["golang","golang-library","golang-package","qrcode","qrcode-generator"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/auula.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-08T12:22:19.000Z","updated_at":"2021-08-25T14:23:52.000Z","dependencies_parsed_at":"2022-09-05T11:11:06.691Z","dependency_job_id":null,"html_url":"https://github.com/auula/qrcode-go","commit_stats":null,"previous_names":["higker/qrcode-go"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/auula/qrcode-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auula%2Fqrcode-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auula%2Fqrcode-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auula%2Fqrcode-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auula%2Fqrcode-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/auula","download_url":"https://codeload.github.com/auula/qrcode-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auula%2Fqrcode-go/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264922867,"owners_count":23683702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","golang-library","golang-package","qrcode","qrcode-generator"],"created_at":"2024-12-02T00:49:24.183Z","updated_at":"2025-07-12T01:09:09.106Z","avatar_url":"https://github.com/auula.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 设置头像\n```golang\n    qr.SetAvatar(\u0026qrcode.Avatar{\n\t\tSrc:    \"../static/1.jpg\",\n\t\tWidth:  60,\n\t\tHeight: 60,\n\t\tRound:  10,\n\t})\n```\n\n## 设置背景图\n```\nqr.SetBackgroundImage(\u0026qrcode.SetBackgroundImage{\n\t\tSrc:    \"../static/3.png\",\n\t\tX:      70,\n\t\tY:      55,\n\t\tWidth:  270,\n\t\tHeight: 270,\n\t})\n```\n\n## 设置前景图\n```\nqr.SetForegroundImage(\"../static/2.png\")\n```\n\n![image](https://github.com/lihaotian0607/qrcode/blob/master/resources/qr-avatar.png)\n![image](https://github.com/lihaotian0607/qrcode/blob/master/resources/qr-bg.png)\n![image](https://github.com/lihaotian0607/qrcode/blob/master/resources/qr-fg.png)\n![image](https://github.com/lihaotian0607/qrcode/blob/master/resources/out.png)\n![image](https://github.com/lihaotian0607/qrcode/blob/master/resources/20200510170738.png)\n![image](https://github.com/lihaotian0607/qrcode/blob/master/resources/20200510170741.png)\n![image](https://github.com/lihaotian0607/qrcode/blob/master/resources/20200510170755.png)\n![image](https://github.com/lihaotian0607/qrcode/blob/master/resources/20200510170802.png)\n![image](https://github.com/lihaotian0607/qrcode/blob/master/resources/20200510170810.png)\n![image](https://github.com/lihaotian0607/qrcode/blob/master/resources/20200510170813.png)\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauula%2Fqrcode-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauula%2Fqrcode-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauula%2Fqrcode-go/lists"}