KO
|
EN
gitlite โ search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#cli
#claude-code
#codex
#developer-tools
#react
#windows
qrencode-go
โ 117
Open GitHub โ
QR encoder in Go
Download README (.md)
Explore Similar Repositories
django-bootstrap3-datetimepicker
:
No description available.
Alembic
:
:alembic: Functional JSON Parser - Linux Ready :penguin:
nodemailer-sendgrid-transport
:
SendGrid transport for Nodemailer
mailgun
:
mailgun library for ruby
requestmapper
:
๐ Request mapper is a plugin for IntelliJ IDEA for quick navigation to URL mapping declarations
// repository documentation
Was this content helpful?
โ 0
(0 ratings)
Select Rating:
โ
โ
โ
โ
โ
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
qrencode-go
?
Download (.md)
QR encoder in Go based on the ZXing encoder (http://code.google.com/p/zxing/). [](https://godoc.org/github.com/qpliu/qrencode-go/qrencode) [](https://travis-ci.org/qpliu/qrencode-go) I was surprised that I couldn't find a QR encoder in Go, especially since the example at http://golang.org/doc/effective_go.html#web_server is a QR code generator, though the QR encoding is done by an external Google service in the example. # Example ```go package main import ( "bytes" "image/png" "os" "github.com/qpliu/qrencode-go/qrencode" ) func main() { var buf bytes.Buffer for i, arg := range os.Args { if i > 1 { if err := buf.WriteByte(' '); err != nil { panic(err) } } if i > 0 { if _, err := buf.WriteString(arg); err != nil { panic(err) } } } grid, err := qrencode.Encode(buf.String(), qrencode.ECLevelQ) if err != nil { panic(err) } png.Encode(os.Stdout, grid.Image(8)) } ```