Skip to content

Commit

Permalink
Update device.go
Browse files Browse the repository at this point in the history
More explicit, descriptive, and consistent field names for `langb`
  • Loading branch information
codenaugh authored Aug 8, 2023
1 parent 4be809c commit 52a93f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion device.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type Device struct {
GeoFetch int `json:"geofetch,omitempty"` // Indicates if the geolocation API will be available to JavaScript code running in the banner,
FlashVersion string `json:"flashver,omitempty"` // Flash version
Language string `json:"language,omitempty"` // Browser language using ISO-639-1-alpha-2. Only one of language or langb should be present.
LangB string `json:"langb,omitempty"` // Browser language using IETF BCP 47. Only one of language or langb should be present.
LanguageB string `json:"langb,omitempty"` // Browser language using IETF BCP 47. Only one of language or langb should be present.
Carrier string `json:"carrier,omitempty"` // Carrier or ISP derived from the IP address
MCCMNC string `json:"mccmnc,omitempty"` // Mobile carrier as the concatenated MCC-MNC code (e.g., "310-005" identifies Verizon Wireless CDMA in the USA).
ConnType ConnType `json:"connectiontype,omitempty"` // Network connection type.
Expand Down

0 comments on commit 52a93f5

Please sign in to comment.