move auth and favicon form main to handlers, linting

This commit is contained in:
ladddder
2023-12-05 16:00:31 +01:00
parent 692b2a5d17
commit f437bcabf3
13 changed files with 249 additions and 226 deletions

View File

@@ -3,8 +3,9 @@ package ruleset_v2
import (
"encoding/json"
"fmt"
"gopkg.in/yaml.v3"
"testing"
"gopkg.in/yaml.v3"
)
// unmarshalRule is a helper function to unmarshal a Rule from a JSON string.