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

@@ -21,17 +21,17 @@ const (
)
type OGTagCache struct {
cache *decaymap.Impl[string, map[string]string]
targetURL *url.URL
client *http.Client
cache *decaymap.Impl[string, map[string]string]
targetURL *url.URL
client *http.Client
// Pre-built strings for optimization
unixPrefix string // "http://unix"
approvedTags []string
approvedPrefixes []string
ogTimeToLive time.Duration
ogCacheConsiderHost bool
ogPassthrough bool
// Pre-built strings for optimization
unixPrefix string // "http://unix"
}
func NewOGTagCache(target string, ogPassthrough bool, ogTimeToLive time.Duration, ogTagsConsiderHost bool) *OGTagCache {