Documentation
¶
Index ¶
Constants ¶
View Source
const (
EXT_JPG = ".jpg"
)
Variables ¶
This section is empty.
Functions ¶
func GetQrCodeFileName ¶
GetQrCodeFileName get qr file name
func GetQrCodeFullUrl ¶
GetQrCodeFullUrl get the full access path
Types ¶
type QrCode ¶
type QrCode struct {
URL string
Width int
Height int
Ext string
Level qr.ErrorCorrectionLevel
Mode qr.Encoding
}
func NewQrCode ¶
func NewQrCode(url string, width, height int, level qr.ErrorCorrectionLevel, mode qr.Encoding) *QrCode
NewQrCode initialize instance
Click to show internal directories.
Click to hide internal directories.