Documentation ¶
Index ¶
- func DrawQRCode(imgPath string, text string, size int, x int32, y int32) ([]byte, error)
- func DrawQRCodeToImage(imgData []byte, text string, size int, x int32, y int32) ([]byte, error)
- func GenerateQRCode(text string, size int) ([]byte, error)
- func GenerateQRCodeFile(text string, size int, filePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrawQRCode ¶
DrawQRCode 将二维码画到指定图片的指定位置,并设定二维码大小
func DrawQRCodeToImage ¶
DrawQRCode 将二维码画到指定图片的指定位置,并设定二维码大小
func GenerateQRCode ¶
GenerateQRCode 生成二维码图片
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.