icns

Easily create .icns files (Mac Icons) with this Go library or the included CLI.
Log | Files | Refs | LICENSE

commit 887a11b796668020f14e22191ded6be8767d2639
parent ec1a78510e218aec046708effefda4d90b5ecd8c
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date:   Tue, 29 Oct 2024 10:13:19 +0800

icns: delete panicf (unused)

Signed-off-by: Jack Mordaunt <jackmordaunt.dev@gmail.com>

Diffstat:
Merror.go | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/error.go b/error.go @@ -16,7 +16,3 @@ func (err ErrImageTooSmall) Error() string { format := "image is too small: %dx%d, need at least %dx%d" return fmt.Sprintf(format, b.X, b.Y, err.need, err.need) } - -func panicf(format string, values ...interface{}) { - panic(fmt.Sprintf(format, values...)) -}