From 916a2e9b9528c5426b505b5b75c4d8b62ed05e30 Mon Sep 17 00:00:00 2001 From: gucio321 Date: Sat, 26 Oct 2024 23:11:46 +0200 Subject: [PATCH] remove unused code yay --- CSS.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/CSS.go b/CSS.go index 4e60839e..328db99f 100644 --- a/CSS.go +++ b/CSS.go @@ -109,19 +109,6 @@ func ParseCSSStyleSheet(data []byte) error { return nil } -func panicToErr(f func()) (err error) { - defer func() { - if r := recover(); r != nil { - //nolint:goerr113 // Not worth wrapping - err = fmt.Errorf("%v", r) - } - }() - - f() - - return err -} - // cssStylesheet is a map tag:StyleSetter. type cssStylesheet map[string]*StyleSetter