Documentation ¶
Index ¶
Constants ¶
View Source
const ( QR_CODE_SIZE = 256 SHRINK_QR_CODE_SIZE = 35 MARGIN = 29 MULTIPLE = 6 )
* @Author:hanyajun * @Date:2019/4/30 14:56 * @Name:qrcode2console * @Function: 二维码输出到console
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QRCode2Console ¶
type QRCode2Console struct { Path string // contains filtered or unexported fields }
func NewQRCode2ConsoleWithPath ¶
func NewQRCode2ConsoleWithPath(path string) *QRCode2Console
通过二维码图片
func NewQRCode2ConsoleWithUrl ¶
func NewQRCode2ConsoleWithUrl(url string, genImg bool) *QRCode2Console
NewQRCode 返回二维码结构
Click to show internal directories.
Click to hide internal directories.