Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
yay
  • Loading branch information
gucio321 committed Oct 26, 2024
1 parent 0ab0a86 commit 916a2e9
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions CSS.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 916a2e9

Please sign in to comment.