Documentation
¶
Index ¶
Constants ¶
View Source
const (
EXT_JPG = ".jpg"
)
Variables ¶
This section is empty.
Functions ¶
func GetQrCodeFileName ¶
func GetQrCodeFullPath ¶
func GetQrCodeFullPath() string
func GetQrCodeFullUrl ¶
func GetQrCodePath ¶
func GetQrCodePath() string
Types ¶
type QrCode ¶
type QrCode struct { URL string Width int Height int Ext string Level qr.ErrorCorrectionLevel Mode qr.Encoding }
QrCode 二维码 实体类
func NewQrCode ¶
func NewQrCode(url string, width, height int, level qr.ErrorCorrectionLevel, mode qr.Encoding) *QrCode
NewQrCode 创建一个 qrode
func (*QrCode) GetQrCodeExt ¶
Click to show internal directories.
Click to hide internal directories.