View main.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | |
} |
View datauri.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/base64" | |
"fmt" | |
qrcode "github.com/skip2/go-qrcode" | |
) | |
func main() { |
View gist:c8196e0701aa714ab4ea4677ad854896
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am skip2 on github. | |
* I am skip2 (https://keybase.io/skip2) on keybase. | |
* I have a public key ASDmJm2ivGrPX8TJDjrqH1Wms8kjepoPGn0vkkppDoIC1go | |
To claim this, I am signing this object: |