package pages import "github.com/skip2/go-qrcode" import "encoding/base64" templ Overlay(lnurl string) { zaply if GetEnv(ctx) == "development" { }
scan to zap message
} func qrEncode(value string) string { q, err := qrcode.New(value, qrcode.Medium) q.DisableBorder = true png, err := q.PNG(256) if err != nil { return "" } return base64.StdEncoding.EncodeToString([]byte(png)) }