Created
February 8, 2018 11:21
-
-
Save sapiens-sapide/08219880f300e644a555cc7ff4b7da7d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type DeviceLocation struct { | |
// PRIMARY KEYS (device_id, ip_address) | |
Country string `cql:"country" json:"country,omitempty"` | |
DeviceId UUID `cql:"device_id" json:"device_id"` | |
IpAddress string `cql:"ip_address" json:"ip_address,omitempty"` | |
PrivacyFeatures *PrivacyFeatures `cql:"privacy_features" json:"privacy_features,omitempty"` | |
Type string `cql:"type" json:"type,omitempty"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment