style: improve alignment of struct fields in AnubisRule and OGTagCache

This commit is contained in:
Jason Cameron
2025-06-13 16:35:33 -04:00
parent 5aa7d8e0d6
commit 60031f8b89
2 changed files with 7 additions and 8 deletions

View File

@@ -36,8 +36,7 @@ type RobotsRule struct {
IsBlacklist bool // true if this is a specifically denied user agent
}
//betteralign:ignore, we want name to be the first field
type AnubisRule struct {
type AnubisRule struct { // betteralign:ignore, we want name to be the first field
Name string `yaml:"name" json:"name"`
Action string `yaml:"action" json:"action"`
Expression map[string]interface{} `yaml:"expression,omitempty" json:"expression,omitempty"`