Skip to content

Instantly share code, notes, and snippets.

@skip2
Created Oct 27, 2019
Embed
What would you like to do?
package main
import qrcode "github.com/skip2/go-qrcode"
func main() {
q, err := qrcode.New("https://example.org", qrcode.Medium)
if err != nil {
panic(err)
}
q.DisableBorder = true
err = q.WriteFile(256, "example-noborder.png")
if err != nil {
panic(err)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment