Versions in this module Expand all Collapse all v0 v0.0.1 May 3, 2023 Changes in this version + const EXT_JPG + type Content struct + BgPath string + DstFile *os.File + DstPath string + type Poster struct + Qr *Qr + func NewPoster(content Content, rect *Rect, qr Qr) *Poster + func (p *Poster) Generate() (err error) + type Qr struct + Path string + X int + Y int + type QrCode struct + Ext string + FileName string + Height int + Level qr.ErrorCorrectionLevel + Mode qr.Encoding + URL string + Width int + func NewQrCode(url string, width, height int, level qr.ErrorCorrectionLevel, mode qr.Encoding) *QrCode + func (q *QrCode) Encode(folderPath string) (filePath string, err error) + func (q *QrCode) GetQrCodeExt() string + type Rect struct + X0 int + X1 int + Y0 int + Y1 int