File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ type RegexesDefinitions struct {
1616 UA []* uaParser `yaml:"user_agent_parsers"`
1717 OS []* osParser `yaml:"os_parsers"`
1818 Device []* deviceParser `yaml:"device_parsers"`
19+ _ [4 ]byte // padding for alignment
1920 sync.RWMutex
21+
2022}
2123
2224type UserAgentSorter []* uaParser
@@ -32,6 +34,7 @@ type uaParser struct {
3234 V1Replacement string `yaml:"v1_replacement"`
3335 V2Replacement string `yaml:"v2_replacement"`
3436 V3Replacement string `yaml:"v3_replacement"`
37+ _ [4 ]byte // padding for alignment
3538 MatchesCount uint64
3639}
3740
@@ -64,6 +67,7 @@ type osParser struct {
6467 V2Replacement string `yaml:"os_v2_replacement"`
6568 V3Replacement string `yaml:"os_v3_replacement"`
6669 V4Replacement string `yaml:"os_v4_replacement"`
70+ _ [4 ]byte // padding for alignment
6771 MatchesCount uint64
6872}
6973
@@ -97,6 +101,7 @@ type deviceParser struct {
97101 DeviceReplacement string `yaml:"device_replacement"`
98102 BrandReplacement string `yaml:"brand_replacement"`
99103 ModelReplacement string `yaml:"model_replacement"`
104+ _ [4 ]byte // padding for alignment
100105 MatchesCount uint64
101106}
102107
You can’t perform that action at this time.
0 commit comments