From 4b1b765d8a77b5a56b29f19faa17ed625a8aac56 Mon Sep 17 00:00:00 2001 From: SJaguar <80150316+SJaguar@users.noreply.github.com> Date: Sun, 26 Sep 2021 00:08:11 +0700 Subject: [PATCH] Update qrcode.go --- qrcode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrcode.go b/qrcode.go index d0541bc..980cee5 100644 --- a/qrcode.go +++ b/qrcode.go @@ -106,7 +106,7 @@ func WriteFile(content string, level RecoveryLevel, size int, filename string) e // size is both the image width and height in pixels. If size is too small then // a larger image is silently written. Negative values for size cause a variable // sized image to be written: See the documentation for Image(). -func WriteColorFile(content string, level RecoveryLevel, size int, background, +func WriteColorFile(content string, level RecoveryLevel, size int, background color.Color, foreground color.Color, filename string) error { var q *QRCode